Skip to content

ci: pin GitHub Actions to exact commit SHAs in security workflow#752

Merged
Defilan merged 1 commit into
defilantech:mainfrom
matiasinsaurralde:ci/pin-security-action-shas
Jun 20, 2026
Merged

ci: pin GitHub Actions to exact commit SHAs in security workflow#752
Defilan merged 1 commit into
defilantech:mainfrom
matiasinsaurralde:ci/pin-security-action-shas

Conversation

@matiasinsaurralde

Copy link
Copy Markdown
Contributor

What

  • Pin all GitHub Actions in security.yml to immutable commit SHAs instead of mutable version tags
  • Affected actions: actions/checkout, actions/setup-go and golvulncheck
  • Original version tags preserved as inline comments for readability

Why

Security improvements, follow up of #689 and #751

How

Replace each uses: action@vN reference with uses: action@<full-sha> # vX.Y.Z, preserving the version in a trailing comment for readability

Checklist

  • Tests added/updated
  • make test passes locally
  • make lint passes locally
  • Commit messages follow conventional commits
  • All commits are signed off (git commit -s) per DCO
  • [ ] Documentation updated (if user-facing change)

Signed-off-by: Matías Insaurralde <matias@insaurral.de>
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Defilan Defilan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving: CI green, low-risk. Merging as part of dependency/CI cleanup.

@Defilan Defilan merged commit 6c9b67b into defilantech:main Jun 20, 2026
8 checks passed
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.

2 participants