Skip to content

ci: pin actions to full commit SHAs#173

Merged
eepifanova merged 1 commit intomainfrom
pin-actions
Mar 27, 2026
Merged

ci: pin actions to full commit SHAs#173
eepifanova merged 1 commit intomainfrom
pin-actions

Conversation

@eepifanova
Copy link
Copy Markdown
Contributor

Summary

Pin action refs from mutable tags to full commit SHAs to prevent supply-chain attacks.

Changes

Action Before After
actions/checkout v6 de0fac2e...
actions/setup-go v6 4b73464b...
golangci/golangci-lint-action v6 55c2c144...
codecov/codecov-action v5 75cd1169...
actions-ecosystem/action-get-latest-tag v1 b7c32dae...
actions-ecosystem/action-bump-semver v1 34e33455...
actions-ecosystem/action-push-tag v1 6e82caef...

Applied to: cicd.yml, release.yml

No behavioral changes — supply-chain hardening only.

- actions/checkout: v6 -> de0fac2e...
- actions/setup-go: v6 -> 4b73464b...
- golangci/golangci-lint-action: v6 -> 55c2c144...
- codecov/codecov-action: v5 -> 75cd1169...
- actions-ecosystem/action-get-latest-tag: v1 -> b7c32dae...
- actions-ecosystem/action-bump-semver: v1 -> 34e33455...
- actions-ecosystem/action-push-tag: v1 -> 6e82caef...

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@eepifanova eepifanova requested a review from a team as a code owner March 26, 2026 15:25
@ornj
Copy link
Copy Markdown
Member

ornj commented Mar 27, 2026

If the actions are pinned to a commit SHA, does the bot still create MRs to update them or is it a manual process?

@eepifanova
Copy link
Copy Markdown
Contributor Author

If the actions are pinned to a commit SHA, does the bot still create MRs to update them or is it a manual process?

Yes, it supports SHAs and even updates text versions after #
dependabot/dependabot-core#2835

@eepifanova eepifanova merged commit 7245ea5 into main Mar 27, 2026
2 checks passed
@eepifanova eepifanova deleted the pin-actions branch March 27, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants