Skip to content

ci: pin GitHub Actions to commit SHAs#81

Merged
ElbertePlinio merged 1 commit into
mainfrom
chore/sha-pin-actions
Jul 24, 2026
Merged

ci: pin GitHub Actions to commit SHAs#81
ElbertePlinio merged 1 commit into
mainfrom
chore/sha-pin-actions

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Pins every mutable-tag third-party action in ci.yml and release.yml to a full commit SHA with a version comment, per the #66 PR 6 security review follow-up. Same jobs, same versions — each SHA is the exact commit its tag pointed to at pin time, independently verified twice via the GitHub refs API (annotated tags dereferenced to commit objects).

Left as-is: google/osv-scanner-action (already SHA-pinned) and the docker://ghcr.io/gitleaks/gitleaks:v8.30.1 image reference (digest-pinning is a registry mechanism, tracked as a possible follow-up).

Known tradeoff: dtolnay/rust-toolchain@stable and taiki-e/install-action@cargo-llvm-cov are inherently mutable refs, now frozen at their 2026-07 heads — they need manual bumps to pick up new upstream releases.

Closes #77.

🤖 Generated with Claude Code

Pin all mutable-tag third-party actions in ci.yml and release.yml to
their resolved commit SHAs with trailing version comments, closing the
supply-chain gap where a compromised or re-tagged upstream release
could silently run in CI.
@ElbertePlinio
ElbertePlinio merged commit 2633b83 into main Jul 24, 2026
4 checks passed
@ElbertePlinio
ElbertePlinio deleted the chore/sha-pin-actions branch July 24, 2026 19:59
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.

Pin GitHub Actions to commit SHAs in workflows

1 participant