Skip to content

Pin GitHub Actions to commit SHAs#5

Merged
netram-netizen merged 1 commit into
mainfrom
security/pin-actions
Jul 10, 2026
Merged

Pin GitHub Actions to commit SHAs#5
netram-netizen merged 1 commit into
mainfrom
security/pin-actions

Conversation

@netram-netizen

Copy link
Copy Markdown

Pin GitHub Actions to commit SHAs

Pins all uses: action references to full commit SHAs (with a version comment), per the unpinned-uses audit from zizmor.

Why: mutable tag/branch refs (@v4) let a compromised or force-pushed tag silently run new code with this workflow's token. Pinning to an immutable SHA closes that supply-chain vector. Dependabot (already configured) will keep the SHAs updated.

No behavioral change — same action versions, just pinned. Files changed: build-push.yaml .

cc @moritzheiber — flagging you as the recent contributor for review.

🤖 Generated with Claude Code

@netram-netizen netram-netizen merged commit 45febb7 into main Jul 10, 2026
20 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.

1 participant