Skip to content

Pin GitHub Actions to full commit SHAs - #263

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

Pin GitHub Actions to full commit SHAs#263
nerrad merged 1 commit into
trunkfrom
fix/WOOPRD-3690-pin-github-actions

Conversation

@nerrad

@nerrad nerrad commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request:

WooCommerce intends to enforce full-length commit SHA pinning for GitHub Actions across the organization. This pins remote action references in workflows and composite actions to the commits currently identified by their existing tags or branches, retaining those refs in comments. Immutable references reduce the risk that a moved or compromised upstream ref can silently change CI code and narrow the supply-chain compromise surface.

Screenshots:

Not applicable; this changes workflow and composite action configuration only.

Detailed test instructions:

  1. Re-run the action reference scanner in check mode and confirm zero unpinned remote action references remain.
  2. Run git diff --check.
  3. Parse every changed workflow and composite action file as YAML.

All three checks pass on this branch.

Additional details:

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 21:03
@nerrad
nerrad merged commit c86bbcd into trunk Aug 24, 2026
22 checks passed
@nerrad
nerrad deleted the fix/WOOPRD-3690-pin-github-actions branch August 24, 2026 21:03
eason9487 added a commit to eason9487/grow that referenced this pull request Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants