Skip to content

chore: pin GitHub Actions to commit SHAs#3

Merged
bolchowka merged 1 commit into
masterfrom
chore/sha-pin-actions
Apr 20, 2026
Merged

chore: pin GitHub Actions to commit SHAs#3
bolchowka merged 1 commit into
masterfrom
chore/sha-pin-actions

Conversation

@bolchowka
Copy link
Copy Markdown
Member

SHA Pinning — automated PR

This PR pins all GitHub Actions workflow steps to immutable commit SHAs.

What changed

All mutable GitHub Actions tag references (e.g. @v3) have been replaced with immutable commit SHA pins plus a version comment, for example:

# before
- uses: actions/checkout@v4
# after
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

Dependabot will keep the SHA pins up-to-date – it's natively supported by GitHub.

Why

A mutable tag can be silently re-pointed to a malicious commit. SHA pins guarantee exactly which code runs in CI.
See: tj-actions/changed-files incident (March 2025)

Review checklist

  • Spot-check a few SHA pins against the upstream action repo
  • Verify CI still passes after merge
  • Merge into master

@bolchowka bolchowka requested review from Kaweckip, bkubiak and magdatext and removed request for bkubiak April 17, 2026 14:00
@bolchowka bolchowka merged commit a00a292 into master Apr 20, 2026
6 of 12 checks passed
@bolchowka bolchowka deleted the chore/sha-pin-actions branch April 20, 2026 12:15
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