ci: Pin third-party GitHub Actions to commit SHAs#7727
Open
matthewelwell wants to merge 1 commit into
Open
Conversation
Pin every third-party `uses:` ref across `.github/workflows/` and `.github/actions/` to its full 40-char commit SHA with a trailing `# vX.Y.Z` comment, hardening the workflows against supply-chain attacks targeting action repositories. Two refs that floated on `@main` are now pinned to their latest stable releases: - `fjogeleit/yaml-update-action` -> v0.17.0 - `actions-cool/check-user-permission` -> v2.0.1 Local `./...` refs and `Flagsmith/*` actions are intentionally left on tags. `renovate.json` extends `helpers:pinGitHubActionDigests` so newly added actions are auto-pinned, with `Flagsmith/**` excluded. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Contributor
Docker builds report
|
Contributor
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
|
Contributor
Visual Regression19 screenshots compared. See report for details. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7727 +/- ##
==========================================
+ Coverage 98.38% 98.54% +0.16%
==========================================
Files 1446 1452 +6
Lines 55321 55757 +436
==========================================
+ Hits 54427 54947 +520
+ Misses 894 810 -84 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
docs/if required so people know about the feature.Changes
Hardens our workflows against supply-chain attacks targeting GitHub Actions repositories (e.g. the recent
tj-actions/changed-filescompromise) by pinning every third-partyuses:reference to a full 40-character commit SHA with a trailing# vX.Y.Zcomment.owner/repo@<full-sha> # vX.Y.Z.@mainare pinned to their latest stable release SHA, which is a minor behaviour change worth flagging:fjogeleit/yaml-update-action@main→v0.17.0actions-cool/check-user-permission@main→v2.0.1./...references andFlagsmith/*actions are intentionally left on version tags.renovate.jsonextendshelpers:pinGitHubActionDigestsso any newly added action is auto-pinned to a digest in its first Renovate PR.Flagsmith/**is excluded via a package rule. The existingsecurity:only-security-updatespreset is preserved, so SHAs only refresh when a CVE is published.How did you test this code?
renovate-config-validatorpassed locally via the pre-push hook.🤖 Generated with Claude Code