fix: pin all GitHub Actions to commit SHAs#1125
Merged
dgilmanuni merged 1 commit intomainfrom Apr 2, 2026
Merged
Conversation
Replace mutable tag/branch references with immutable commit SHAs to prevent supply chain attacks via tag mutation. Triggered by: axios npm supply chain compromise audit (2026-03-30) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
just-toby
approved these changes
Apr 2, 2026
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
What changed
All
uses:directives in.github/workflows/check-and-deploy.yml,.github/workflows/lint.yaml, and.github/workflows/search.yamlthat referenced mutable tags (@v3,@v4,@v9,@v1,@v1.1.9) or branches (@master) have been replaced with full 40-character commit SHAs. Original version tags are preserved as inline comments for readability. TheHomebrew/actions/setup-homebrew@masterbranch ref was particularly important to pin since branch refs can be force-pushed at any time.Actions pinned:
actions/checkoutv3f43a0e5ff2bd294095638e18286ca9a3d1956744actions/checkoutv434e114876b0b11c390a56381ad16ebd13914f8d5actions/setup-nodev33235b876344d2a9aa001b8d1453c930bba69e610zentered/vercel-preview-urlv1.1.9e5fb141da2e3d62692b38e6c7c17477aad214165UnlyEd/github-action-await-vercelv13d536f03d951e603b21701814ba211dcbbafaf93treosh/lighthouse-ci-actionv92e159d989f91bb9e399801b3e1ad90bcd4749f75actions/github-scriptv3ffc2c79a5b2490bd33e0a41c1de74b877714d736mshick/add-pr-commentv1a96c578acba98b60f16c6866d5f20478dc4ef68bHomebrew/actions/setup-homebrewmasterb2a302b9a642580cae998e6ba2076ffd28e61317Test plan
check-and-deploy.ymlCI passes on this PRlint.yamlCI passes on this PRsearch.yamlruns on cron schedule only -- manual trigger or next scheduled run will confirmSession context
Triggered by the axios npm supply chain compromise audit (2026-03-30). All SHAs were resolved via
gh api repos/{owner}/{repo}/git/ref/tags/{tag}, with tag objects dereferenced to their underlying commit SHAs where needed (treosh/lighthouse-ci-action and mshick/add-pr-comment were annotated tags requiring an extra dereference step). No local actions were present in this repo.🤖 Generated with Claude Code