Pin all GitHub Actions references#4901
Merged
hauntsaninja merged 1 commit intopsf:mainfrom Dec 9, 2025
Merged
Conversation
This hash-pins all GitHub Actions. I used `pinact run -v` to perform and verify this; a separate tool like `gha-update` could be used to cross-check them for honesty! Note: This only pins the actions; I haven't attempted any bumps. Dependabot will keep them updated, including updating the version comments. Signed-off-by: William Woodruff <william@yossarian.net>
Member
Author
This was referenced Dec 11, 2025
rxjacob
pushed a commit
to rxjacob/black
that referenced
this pull request
Jan 3, 2026
This hash-pins all GitHub Actions. I used `pinact run -v` to perform and verify this; a separate tool like `gha-update` could be used to cross-check them for honesty! Note: This only pins the actions; I haven't attempted any bumps. Dependabot will keep them updated, including updating the version comments. Signed-off-by: William Woodruff <william@yossarian.net>
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.
Description
This hash-pins all GitHub Actions.
I used
pinact run -vto perform and verify this; a separate tool likegha-updatecould be used to cross-check them for honesty!Note: This only pins the actions; I haven't attempted any bumps. Dependabot will keep them updated, including updating the version comments.
For context: this is an important (but not final) step towards making GitHub Actions runs generally more hermetic/reproducible. One of the big issues with GitHub Actions is that it encourages mutable tag usage by default, meaning that an attacker who manages to take over a third-party action can pretty easily pivot onto lots of critical project by force-pushing over an existing version tag. Hash-pinning prevents that.
For more information, I've put some docs on hash pinning in zizmor's audit docs: https://docs.zizmor.sh/audits/#unpinned-uses
Checklist - did you ...
--previewstyle, following thestability policy?
CHANGES.mdif necessary?Leaving all of the above blank since I believe this is an internal-only CI change 🙂