Skip to content

Pin GitHub Actions to full commit SHAs - #2219

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

Pin GitHub Actions to full commit SHAs#2219
nerrad merged 1 commit into
trunkfrom
fix/WOOTHME-487-pin-github-actions

Conversation

@nerrad

@nerrad nerrad commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

WooCommerce intends to enforce an organization-wide requirement that GitHub Actions references use full-length commit SHAs. This pins 15 external Action references across 3 workflow files while retaining each original version or branch in a trailing comment.

Immutable pins reduce supply-chain compromise risk by preventing a moved or compromised mutable tag or branch from silently changing executed workflow code. Local actions and reusable workflows are unchanged.

How to test the changes in this Pull Request:

  1. Re-run the Action-reference check and confirm zero unpinned external references.
  2. Parse the changed YAML files.
  3. Run git diff --check and confirm only uses: references changed.

Changelog

None — workflow-only configuration.

@nerrad
nerrad marked this pull request as ready for review August 24, 2026 18:56
@nerrad
nerrad merged commit d8c4322 into trunk Aug 24, 2026
8 checks passed
@nerrad
nerrad deleted the fix/WOOTHME-487-pin-github-actions branch August 24, 2026 18:56
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