Skip to content

chore[ci]: pin GitHub Actions to commit SHAs#93

Open
ignaciojimenez wants to merge 1 commit intoSharzyL:goshujinfrom
ignaciojimenez:chore/pin-github-actions
Open

chore[ci]: pin GitHub Actions to commit SHAs#93
ignaciojimenez wants to merge 1 commit intoSharzyL:goshujinfrom
ignaciojimenez:chore/pin-github-actions

Conversation

@ignaciojimenez
Copy link
Copy Markdown
Contributor

Summary

  • Pin all third-party GitHub Actions to full commit hashes instead of mutable version tags
  • Prevents supply chain attacks where a compromised action maintainer could push malicious code under an existing tag
  • Affected actions: actions/checkout, actions/setup-node, pnpm/action-setup, actions/upload-artifact, actions/download-artifact, davelosert/vitest-coverage-report-action
  • Version comments retained for readability (e.g. @<sha> # v4)

Test plan

  • CI workflows still run successfully
  • No functional changes — only the reference format changes

Pin all third-party GitHub Actions to full commit hashes instead of
mutable version tags. This prevents supply chain attacks where a
compromised action maintainer could push malicious code to an existing
tag.

Co-Authored-By: Claude Opus 4.6 <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