Pin GitHub Actions to commit SHAs; add Dependabot config#87
Merged
Conversation
Per #85: pin third-party GitHub Actions to immutable commit SHAs (with a trailing version-tag comment for human readability) to mitigate supply-chain attacks via tag re-pointing. Add a Dependabot config that maintains the github-actions ecosystem with a 7-day cooldown so we don't adopt brand-new releases until any yanks/revocations have surfaced. Each workflow has a header comment explaining the SHA-pinning convention and linking to the GitHub security-hardening docs and the mheap/pin-github-action tool. Versions chosen are the latest stable that are also more than 7 days old (verified against each repo's official Releases page on 2 Jun 2026): - actions/checkout: v4 -> v6.0.2 (de0fac2, released 2026-01-09) - v6.0.3 was released today and skipped per the cooldown policy. - actions/setup-python: v5 -> v6.2.0 (a309ff8, released 2026-01-22) - actions/cache: v4 -> v5.0.5 (27d5ce7, released 2026-04-13) Closes #85
mbarton
approved these changes
Jun 3, 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.
Per #85: pin third-party GitHub Actions to immutable commit SHAs (with a trailing version-tag comment for human readability) to mitigate supply-chain attacks via tag re-pointing. Add a Dependabot config that maintains the github-actions ecosystem with a 7-day cooldown so we don't adopt brand-new releases until any yanks/revocations have surfaced.
Each workflow has a header comment explaining the SHA-pinning convention and linking to the GitHub security-hardening docs and the mheap/pin-github-action tool.
Versions chosen are the latest stable that are also more than 7 days old (verified against each repo's official Releases page on 2 Jun 2026):
Closes #85
Based on
liveso can be merged ahead of #80 and subsequent PRs without causing too much mayhem.