fix: pin all GitHub Actions to commit SHAs - #93
Merged
gtrivedi88 merged 1 commit intoSep 2, 2026
Merged
Conversation
Mitigate supply chain attacks (CVE-2025-30066) by pinning every action reference to an immutable commit SHA instead of mutable version tags or branch names. Also: - Replace abandoned jitterbit/get-changed-files with gh API call - Replace broken benoitf/vale-action@reviewdog with upstream errata-ai/vale-action Ref: https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/273 Co-authored-by: Cursor <cursoragent@cursor.com>
ibuziuk
approved these changes
Sep 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
Pin every GitHub Actions reference to an immutable commit SHA to mitigate supply chain attacks like the tj-actions/changed-files compromise (CVE-2025-30066).
Changes across 5 workflow files:
SHA pinning (25 action references):
actions/checkout@v4# v4actions/upload-artifact@v4# v4actions/setup-node@v4# v4actions/github-script@v7# v7ruby/setup-ruby@v1# v1docker/setup-qemu-action@v3# v3docker/setup-buildx-action@v3# v3docker/login-action@v3# v3limjh16/jekyll-action-ts@v2# v2peaceiris/actions-gh-pages@v4# v4dawidd6/action-download-artifact@v9# v9Additional security fixes:
Replaced
jitterbit/get-changed-files@v1— This action is abandoned (last commit May 2021) and uses the same mutable-tag attack vector as tj-actions. Replaced with agh apicall that fetches changed files directly from the GitHub API.Replaced
benoitf/vale-action@reviewdog— Thereviewdogbranch does not exist on thebenoitffork (returns 404). Switched to the upstreamerrata-ai/vale-actionpinned to the currentreviewdogbranch SHA.Ref: https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/273
Test plan
gh apireplacement for changed-files works on PR eventsMade with Cursor