sec(ci): pin actions/* refs to commit SHAs (backend#1491, D10) - #461
Merged
Conversation
Pin every actions/* ref to the full 40-char commit SHA it currently resolves to, with a trailing exact-version comment (D10, RFC-BACKEND-1405). Behaviour-preserving: no version changes, only removal of silent tag mutation. tracebloc/* refs stay on @main by design; third-party refs were pinned under backend#1490. Part of tracebloc/backend#1491. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Author
|
FR on staging → Ready for prod (staging FR sweep, 2026-08-06). Basis: CI/tooling-only change with no product runtime surface — verified green through code review + Bugbot on develop and the fr-gated staging promotion. No product-behavior verification required for this class. |
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.
Pin every
actions/*ref in this repo's workflows to the full 40-char commit SHA it currently resolves to, with a trailing exact-version comment — same form and rules as the third-party run under backend#1490 (D10, RFC-BACKEND-1405). Behaviour-preserving: no version changes, only removal of silent tag mutation.tracebloc/*refs stay on@mainby design; third-party refs were already pinned under backend#1490.actions/add-to-project@v2.0.05afcf98fcd03f1c2f92c3c83f58ae24323cc57fd# v2.0.0actions/checkout@v73d3c42e5aac5ba805825da76410c181273ba90b1# v7.0.1actions/download-artifact@v737930b1c2abaa49bbe596cd826c3c89aef350131# v7.0.0actions/setup-go@v7b7ad1dad31e06c5925ef5d2fc7ad053ef454303e# v7.0.0actions/setup-python@v75fda3b95a4ea91299a34e894583c3862153e4b97# v7.0.0actions/stale@v114391f3da665fdf50b6810c1a66712fb9ba21aa93# v11.0.0actions/upload-artifact@v7043fb46d1a93c77aae656e7c1c64a875d1fc6a0a# v7.0.141 call sites pinned across 13 workflow files. Verified: actionlint clean (no new findings vs the base branch), YAML parses, no mutable
actions/*refs remain in.github/workflows/.Part of tracebloc/backend#1491.
🤖 Generated with Claude Code
Note
Low Risk
Mechanical, behavior-preserving CI ref pinning with no runtime or application code changes; workflow logic and action versions are unchanged.
Overview
CI supply-chain hardening (D10): Every
actions/*step that used floating tags (@v7,@v11, etc.) now references the same release via a 40-character commit SHA, with a trailing# vX.Y.Zcomment—matching the repo’s third-party pinning policy. No action versions change; only tag mutation risk is removed.Scope: 41 call sites across 13 workflow files—
checkout,setup-go,setup-python,upload-artifact,download-artifact,add-to-project, andstale. Third-party actions (e.g.azure/setup-helm,sigstore/cosign-installer) were already SHA-pinned and are untouched;tracebloc/*refs stay on@mainby design.Reviewed by Cursor Bugbot for commit 39fdeda. Bugbot is set up for automated code reviews on this repo. Configure here.