Skip to content

sec(ci): pin third-party action refs to commit SHAs (backend#1490, D10) - #595

Merged
LukasWodka merged 1 commit into
developfrom
sec/1490-pin-third-party-actions
Aug 4, 2026
Merged

sec(ci): pin third-party action refs to commit SHAs (backend#1490, D10)#595
LukasWodka merged 1 commit into
developfrom
sec/1490-pin-third-party-actions

Conversation

@LukasWodka

@LukasWodkaLukasWodka commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Mechanical half of the D10 supply-chain sweep (RFC-BACKEND-1405): every third-party action ref in .github/workflows is pinned to the full 40-character commit SHA it already resolves to today, with a trailing exact-version comment. Behaviour-preserving — the same code runs; only silent tag mutation is removed. No upgrades.

actionold refnew shaversion comment
azure/setup-helm@v41a275c3b69536ee54be43f2070a358922e12c8d4# v4.3.1
  • 5 call site(s) pinned across 3 file(s).
  • SHAs resolved via the GitHub API (git/ref/tags, annotated tags dereferenced through git/tags to the commit), cross-checked against the exact release tag named in the comment.
  • actionlint: no new findings vs base.
  • tracebloc/* refs (stay @main per D10) and actions/* refs (split to backend#1491) deliberately untouched.

Part of tracebloc/backend#1490.

🤖 Generated with Claude Code


Note

Low Risk
Workflow-only pinning with no Helm version or chart logic changes; reduces supply-chain risk without altering runtime behavior.

Overview
Pins azure/setup-helm from the mutable @v4 tag to commit 1a275c3b69536ee54be43f2070a358922e12c8d4 (# v4.3.1) at every Helm setup step in drift-checks, helm-ci, and release-helm-chart workflows.

This is a behavior-preserving supply-chain change: Helm is still installed at v3.15.4 via with.version; only the action ref is immutable so a retagged v4 cannot silently change what CI runs. actions/* and other third-party refs are intentionally left for separate work.

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

Pin every third-party (non-tracebloc, non-actions) action 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.
Part of tracebloc/backend#1490.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@LukasWodka
LukasWodka merged commit 55789ed into developAug 4, 2026
24 checks passed
@LukasWodka
LukasWodka deleted the sec/1490-pin-third-party-actions 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.

2 participants

@LukasWodka@divyasinghds