Skip to content

Pin GitHub Actions to full commit SHAs - #372

Merged
nerrad merged 1 commit into
trunkfrom
fix/WOODEAD-398-pin-github-actions
Aug 24, 2026
Merged

Pin GitHub Actions to full commit SHAs#372
nerrad merged 1 commit into
trunkfrom
fix/WOODEAD-398-pin-github-actions

Conversation

@nerrad

@nerrad nerrad commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

WooCommerce intends to enforce full-length commit SHA pinning for GitHub Actions across the organization. This pins every remote action reference in this repository to the commit currently identified by its existing tag or branch, while retaining that human-readable ref in a comment.

Immutable action references reduce the risk that a moved or compromised upstream ref can silently change the code executed by CI, which narrows the supply-chain compromise surface.

Validation

  • Re-ran the action reference scanner in check mode; zero unpinned remote action references remain.
  • Ran git diff --check successfully.
  • Parsed every changed workflow and composite action file as YAML successfully.

Changelog

No changelog is needed because this changes workflow/action configuration only and is not shipped to merchants.

@nerrad
nerrad marked this pull request as ready for review August 24, 2026 18:37
@nerrad
nerrad merged commit 7ac55ad into trunk Aug 24, 2026
9 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