Skip to content

ci: pin GitHub Actions to commit SHAs - #126

Merged
bschimke95 merged 1 commit into
mainfrom
KU-5612/pin-actions-to-sha
Apr 9, 2026
Merged

ci: pin GitHub Actions to commit SHAs#126
bschimke95 merged 1 commit into
mainfrom
KU-5612/pin-actions-to-sha

Conversation

@louiseschmidtgen

Copy link
Copy Markdown

Summary

Pin all GitHub Actions to full commit SHAs for supply-chain security hardening, replacing mutable tag references.

Why

Mutable tags (e.g. @v4) can be moved by upstream maintainers or by an attacker who compromises an action repo. Pinning to a SHA ensures workflows always run exactly the reviewed code.

This follows GitHub's own security hardening guidance and improves our OpenSSF Scorecard rating.

Changes

  • Pinned all third-party and GitHub-maintained actions in workflow files to full 40-character commit SHAs
  • Preserved original tag/branch versions in inline comments for readability
  • Left already-pinned actions unchanged

Testing

  • Verified all uses: references in .github/workflows/ now use immutable SHAs

@bschimke95
bschimke95 merged commit b5bdcb2 into main Apr 9, 2026
4 checks passed
@bschimke95
bschimke95 deleted the KU-5612/pin-actions-to-sha branch April 9, 2026 11:53
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