fix(security): SHA-pin GitHub Actions in workflows#125
Open
anupsv wants to merge 1 commit into
Open
Conversation
Pin pnpm/action-setup and actions/setup-node to commit SHAs to prevent supply chain attacks via tag mutation. actions/checkout was already pinned. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
pnpm/action-setupto commit SHAb906affcce14559ad1aafd4ab0e942779e9f58b1(v4.3.0) in both release-dev and release-prod workflowsactions/setup-nodeto commit SHA49933ea5288caeca8642d1e84afbd3f7d6820020(v4.4.0) in both release-dev and release-prod workflowsactions/checkoutwas already SHA-pinned at11bd71901bbe5b1630ceea73d27597364c9af683(v4.2.2)Pinning to commit SHAs prevents supply chain attacks via mutable tag references. No version upgrades — each action is pinned to the exact commit its current version tag points to.
Verification
actions/checkout11bd719pnpm/action-setupb906affactions/setup-node4993ea5Test plan
🤖 Generated with Claude Code