Skip to content

fix(security): SHA-pin GitHub Actions in workflows#125

Open
anupsv wants to merge 1 commit into
masterfrom
fix/sha-pin-workflow-actions
Open

fix(security): SHA-pin GitHub Actions in workflows#125
anupsv wants to merge 1 commit into
masterfrom
fix/sha-pin-workflow-actions

Conversation

@anupsv
Copy link
Copy Markdown
Contributor

@anupsv anupsv commented Apr 15, 2026

Summary

  • Pin pnpm/action-setup to commit SHA b906affcce14559ad1aafd4ab0e942779e9f58b1 (v4.3.0) in both release-dev and release-prod workflows
  • Pin actions/setup-node to commit SHA 49933ea5288caeca8642d1e84afbd3f7d6820020 (v4.4.0) in both release-dev and release-prod workflows
  • actions/checkout was already SHA-pinned at 11bd71901bbe5b1630ceea73d27597364c9af683 (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

Action Version SHA Verified
actions/checkout v4.2.2 11bd719 Already pinned
pnpm/action-setup v4.3.0 b906aff Via GitHub API
actions/setup-node v4.4.0 4993ea5 Via GitHub API

Test plan

  • Verify dev release workflow triggers correctly on dev tag push
  • Verify prod release workflow triggers correctly on prod tag push

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant