Skip to content

Pin GitHub Actions to full commit SHAs - #19

Merged
riccardosarro merged 1 commit into
masterfrom
fix/github-action-sha-pinning
Jul 17, 2026
Merged

Pin GitHub Actions to full commit SHAs#19
riccardosarro merged 1 commit into
masterfrom
fix/github-action-sha-pinning

Conversation

@riccardosarro

Copy link
Copy Markdown
Contributor

What

Pin all GitHub Actions in .github/workflows/main.yml to full 40-character commit SHAs, part of the meetup org SHA-pinning enforcement.

Action Before After
actions/checkout @v2 @ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
olafurpg/setup-scala @v10 @a2db88fb5c57396fbc1ff29a4bb0420072a3d6d8 # v10

Why

SHA-pinning prevents a compromised or moved tag from silently changing the action code that runs in CI (supply-chain hardening).

Notes

  • Pure pin: exact tag→commit resolution, tags retained as trailing comments, no version changes.
  • olafurpg/setup-scala@v10 is an annotated tag; SHA is the dereferenced commit.

🤖 Generated with Claude Code

Pin actions/checkout@v2 and olafurpg/setup-scala@v10 to their exact
commit SHAs for supply-chain hardening. Tags are kept as comments; no
version changes.

Co-Authored-By: Claude <noreply@anthropic.com>
@riccardosarro
riccardosarro requested a review from Sebadst July 15, 2026 16:20
@riccardosarro
riccardosarro merged commit a09a170 into master Jul 17, 2026
1 of 2 checks passed
@riccardosarro
riccardosarro deleted the fix/github-action-sha-pinning branch July 17, 2026 08:45
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.

1 participant