Skip to content

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

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)#613
LukasWodka merged 1 commit into
developfrom
sec/1491-pin-actions-refs

Conversation

@LukasWodka

@LukasWodkaLukasWodka 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.

ActionOld refNew pinSites
actions/add-to-project@v1.0.2244f685bbc3b7adfa8466e08b698b5577571133e# v1.0.21
actions/checkout@v411d5960a326750d5838078e36cf38b85af677262# v4.4.020
actions/download-artifact@v4d3f86a106a0bac45b974a628896c90dbdf5c8093# v4.3.01
actions/stale@v95bef64f19d7facfb25b37b414482c7164d639639# v9.1.01
actions/upload-artifact@v4ea165f8d65b6e75b540449e92b4886f43607fa02# v4.6.22

25 call sites pinned across 9 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
Workflow-only supply-chain hardening with no version bumps and no application or chart logic changes; main operational risk is future bump friction, not runtime behavior.

Overview
Pins every actions/* workflow reference from floating version tags (@v4, @v9, etc.) to immutable 40-character commit SHAs, each with a trailing # vX.Y.Z comment—matching the repo’s existing third-party pinning policy (D10 / backend#1490).

25 call sites across 9 workflow files are updated: actions/checkout (20), actions/upload-artifact (2), actions/download-artifact (1), actions/stale (1), and actions/add-to-project (1). No action versions change; behavior is intended to be identical aside from blocking silent tag retargeting.

Reviewed by Cursor Bugbot for commit 2445c32. 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 6f5e506 into developAug 5, 2026
47 of 50 checks passed
@LukasWodka

Copy link
Copy Markdown
ContributorAuthor

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.

@LukasWodka
LukasWodka deleted the sec/1491-pin-actions-refs branch August 14, 2026 13:53
Sign up for freeto 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

@LukasWodka