Skip to content

ci: pin GitHub Actions to commit SHAs#5449

Merged
bschimke95 merged 1 commit intomasterfrom
KU-5612/pin-actions-to-sha
Apr 8, 2026
Merged

ci: pin GitHub Actions to commit SHAs#5449
bschimke95 merged 1 commit intomasterfrom
KU-5612/pin-actions-to-sha

Conversation

@louiseschmidtgen
Copy link
Copy Markdown
Contributor

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.\n\n## Changes\n\n- Pinned all third-party and GitHub-maintained actions in workflow files to full 40-character commit SHAs\n- Preserved original tag versions in inline comments for readability\n- Left already-pinned actions unchanged\n\n## Testing\n\n- Verified all uses: references in .github/workflows/ now use immutable SHAs

Copy link
Copy Markdown
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

All GitHub Action SHAs verified against their claimed version tags. Changes are correct and consistent.

@bschimke95 bschimke95 merged commit 55cc7c8 into master Apr 8, 2026
4 checks passed
@bschimke95 bschimke95 deleted the KU-5612/pin-actions-to-sha branch April 8, 2026 12:09
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