Skip to content

ci: pin GitHub Actions to commit SHAs (FE-4376)#155

Merged
ChesterSim merged 1 commit into
masterfrom
security/pin-github-actions-fe-4376
Jun 19, 2026
Merged

ci: pin GitHub Actions to commit SHAs (FE-4376)#155
ChesterSim merged 1 commit into
masterfrom
security/pin-github-actions-fe-4376

Conversation

@ChesterSim

Copy link
Copy Markdown
Contributor

What

Pin all floating GitHub Actions refs in this repo to full commit SHAs (with # version comments), across workflow files and composite action.yml files. SHAs are the exact commits each tag/branch currently resolves to.

Why

Part of the org-wide GitHub Actions hardening effort (FE-4376). The drift-labs org now has sha_pinning_required: true and is moving off Allow all actions to a selected-actions allow-list. Floating refs (@v1, @master, …) must be pinned to full SHAs first so neither the pin-enforcement policy nor the allow-list flip breaks CI. Pinning to a SHA is the actual supply-chain defense (a mutable @master/tag can be moved by a compromised maintainer).

Scope

Action ref pins only — no logic changes. Behavior preserved (e.g. dtolnay/rust-toolchain@stable pins to the stable-branch commit whose action.yml still defaults to the stable channel).

@ChesterSim
ChesterSim merged commit 3cb6852 into master Jun 19, 2026
3 of 4 checks passed
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