Repository navigation
chore(ci): pin action versions to hashes - #645
Merged
lwasser merged 2 commits intoJun 18, 2025
Merged
Conversation
Surfaced via zizmor Ref: https://docs.zizmor.sh/audits/#unpinned-uses Signed-off-by: Mike Fiedler <miketheman@gmail.com>
Collaborator
|
@all-contributors please add @miketheman for code, review, security |
Contributor
|
I've put up a pull request to add @miketheman! 🎉 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #645 +/- ##
=======================================
Coverage 90.77% 90.77%
=======================================
Files 9 9
Lines 1973 1973
Branches 144 144
=======================================
Hits 1791 1791
Misses 142 142
Partials 40 40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
|
@jsamoocha I'm sitting in a meeting with @miketheman who handles security for the PSF. This PR enhances our Ci workflows by adding specific hashes for each step called in CI using gha-update and zizmor. ✨ !! |
lwasser
reviewed
Jun 18, 2025
| PYTHON-VERSION: "3.11" | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
Collaborator
There was a problem hiding this comment.
Pin dependency versions to a specific hash for security
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
Increase repository security by pinning GitHub Actions to hashes, to minimize the ability for the underlying author to change the tag of the release without the user knowing about it.
Surfaced via zizmor
Ref: https://docs.zizmor.sh/audits/#unpinned-uses
Type of change
Select the statement best describes this pull request.
Does your PR include tests
If you are fixing a bug or adding a feature, we appreciate (but do not require)
tests to support whatever fix of feature you're implementing.