Repository navigation
ci: pin GitHub Actions to commit SHAs - #9223
Conversation
Pin every third-party action and reusable workflow to a full commit SHA, with the version tag as a comment. Extend the shared Renovate preset so pins stay current via `helpers:pinGitHubActionDigests`. Generated with [Linear](https://linear.app/flagsmith/agent-session/07c42570-c4e2-4c33-8ff9-d68a5adbf5fc) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
There was a problem hiding this comment.
No issues found across 25 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Pins third-party GitHub Actions and reusable workflows to full commit SHAs with version-tag comments, and updates renovate.json to a security-only preset. This is a bounded CI/tooling hardening change with no product or runtime behavior changes.
Turn on auto-fix | Re-trigger cubic
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9223 +/- ##
=======================================
Coverage 98.96% 98.96%
=======================================
Files 1724 1724
Lines 73879 73879
=======================================
Hits 73113 73113
Misses 766 766 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Docker builds report
|
✅ private-cloud · depot-ubuntu-latest-16 — run #24080 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-arm-16 — run #24080 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #24080 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #24080 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
|
Visual Regression31 screenshots compared. See report for details. |
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Every third-party action and reusable workflow in
.github/workflowsand.github/actionsnow points at a full commit SHA. The version tag is kept as a comment, for exampleactions/checkout@3d3c42e… # v7.0.1. Local./actions are not changed.@v4becomes# v4.4.0.actions-cool/check-user-permission@mainis pinned tov2.4.0.mainis only one CHANGELOG commit ahead of that release.actions/create-github-app-tokenwas already pinned but had no tag comment. It now has# v3.2.0.renovate.jsonnow extendsgithub>Flagsmith/renovate-config:security-onlyinstead of repeating its settings, and our own copy ofgitIgnoredAuthorsis removed. With this change, Renovate:helpers:pinGitHubActionDigestsonce feat: Pin GitHub Actions to commit SHAs renovate-config#4 is merged.commitMessageLowerCase: never, so the first letter is no longer forced to lower case.The package-scoped commit scopes (
API,MCP,CI, …) still apply.Contributes to ENG-1172
How did you test this code?
renovate-config-validator --strict renovate.jsonpasses.actionlintreports the same findings before and after the change, apart from the existing unknowndepot-*runner labels.uses:that is not a local./action matches@<40-char sha> # v<version>.