fix(security): pin third-party GitHub Actions to immutable SHA#7
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…itial pass Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This rule will move to shared default.json as a follow-up (PR C) so every repo extending the shared preset inherits it without per-repo duplication. Existing third-party actions in this repo are already SHA-pinned via this PR series — removing this rule only affects future unpinned additions during the short window before the shared rule ships. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
🎉 This PR is included in version 1.1.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Summary
Pin every third-party GitHub Action to an immutable commit SHA (with a version comment so Renovate can still manage updates).
Per GitHub's security guidance, pinning to a full-length commit SHA is currently the only way to use an action as an immutable release. The trailing
# vX.Y.Zcomment is what Renovate reads to bump both the SHA and the version together on new releases.Changes
uses:rewritten toowner/repo@<sha> # vX.Y.Z.renovate.json: added apackageRulesentry enforcingpinDigests: truefor third-party actions (matchPackageNames: ["!/^reside-eng\\//"]).Pinned SHA table
actions/checkout34e114876b0b11c390a56381ad16ebd13914f8d5# v4.3.1actions/setup-node49933ea5288caeca8642d1e84afbd3f7d6820020# v4.4.0cycjimmy/semantic-release-action5982a02995853159735cb838992248c4f0f16166# v2.7.0technote-space/workflow-conclusion-action45ce8e0eb155657ab8ccf346ade734257fd196a5# v3.0.3Test plan
🤖 Generated with Claude Code