Skip to content

sec(ci): pin actions/* refs to commit SHAs (backend#1491, D10) - #461

Merged
LukasWodka merged 1 commit into
developfrom
sec/1491-pin-actions-refs
Aug 5, 2026
Merged

sec(ci): pin actions/* refs to commit SHAs (backend#1491, D10)#461
LukasWodka merged 1 commit into
developfrom
sec/1491-pin-actions-refs

Conversation

@LukasWodka

@LukasWodka LukasWodka commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

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 @main by design; third-party refs were already pinned under backend#1490.

Action Old ref New pin Sites
actions/add-to-project @v2.0.0 5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0 1
actions/checkout @v7 3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 22
actions/download-artifact @v7 37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 1
actions/setup-go @v7 b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 11
actions/setup-python @v7 5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 2
actions/stale @v11 4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 1
actions/upload-artifact @v7 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 3

41 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.Z comment—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 filescheckout, setup-go, setup-python, upload-artifact, download-artifact, add-to-project, and stale. Third-party actions (e.g. azure/setup-helm, sigstore/cosign-installer) were already SHA-pinned and are untouched; tracebloc/* refs stay on @main by design.

Reviewed by Cursor Bugbot for commit 39fdeda. Bugbot is set up for automated code reviews on this repo. Configure here.

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>
@LukasWodka
LukasWodka merged commit 6830dd0 into develop Aug 5, 2026
29 of 32 checks passed
@LukasWodka
LukasWodka deleted the sec/1491-pin-actions-refs branch August 5, 2026 18:27
@LukasWodka

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant