Skip to content

fix: pin claude-code-action to commit SHA for security - #9

Merged
cfdude merged 2 commits into
mainfrom
fix/pin-claude-code-action-sha
Mar 11, 2026
Merged

fix: pin claude-code-action to commit SHA for security#9
cfdude merged 2 commits into
mainfrom
fix/pin-claude-code-action-sha

Conversation

@cfdude

@cfdude cfdude commented Mar 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pins anthropics/claude-code-action from the mutable @v1 tag to the specific commit SHA 26ec041249acb0a944c0a47b6c0c13f05dbc5b44 (v1) in all affected workflow files
  • This prevents supply-chain attacks where a compromised or updated tag could execute arbitrary code in CI

Files Updated

  • .github/workflows/claude-code-review.yml
  • .github/workflows/claude.yml

Change

- uses: anthropics/claude-code-action@v1
+ uses: anthropics/claude-code-action@26ec041249acb0a944c0a47b6c0c13f05dbc5b44  # v1

Test plan

  • Verify workflows still trigger correctly after merge
  • Confirm the pinned SHA resolves to the expected v1 release

@cfdude
cfdude merged commit 9405761 into main Mar 11, 2026
4 of 5 checks passed
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