Repository navigation
Pin GitHub Actions to commit SHAs - #4
Merged
Merged
Conversation
Pin each action ref to the commit SHA of its current tag with pinact. The versions do not change. Add a monthly grouped Dependabot entry for github-actions to keep the SHAs current. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Do not set up automatic Dependabot updates for actions. Restore .github/dependabot.yml to its state before this branch. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
joemcbride
approved these changes
Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Git tags are mutable. A tag such as
@v4can move to different code at any time. In March 2025 an attacker moved the tags oftj-actions/changed-filesto a malicious commit. Every workflow that used a tag ran that code and leaked CI secrets. A full commit SHA cannot move.What changed
uses:reference now points to a 40-character commit SHA, with the version in a trailing comment (owner/repo@<sha> # vX.Y.Z). pinact made these edits from the GitHub API. Nobody typed a SHA by hand.v4gets the comment of the full release with the same SHA../...) and refs to branches are not changed.No other files changed.
🤖 Generated with Claude Code