chore: pin third-party GitHub Actions to commit SHAs#172
Merged
Conversation
mahangu
pushed a commit
to Automattic/newspack-ads
that referenced
this pull request
May 31, 2026
Updates the branch HEAD so the closed PR's files-changed view shows the correct SHA. Repo is auto-closed legacy/mirror so no merge will happen here; canonical fix is in Automattic/newspack-workspace#172. Tracking: DEVPROD-1072
mahangu
pushed a commit
to Automattic/newspack-blocks
that referenced
this pull request
May 31, 2026
Updates the branch HEAD so the closed PR's files-changed view shows the correct SHA. Repo is auto-closed legacy/mirror so no merge will happen here; canonical fix is in Automattic/newspack-workspace#172. Tracking: DEVPROD-1072
mahangu
pushed a commit
to Automattic/newspack-listings
that referenced
this pull request
May 31, 2026
Updates the branch HEAD so the closed PR's files-changed view shows the correct SHA. Repo is auto-closed legacy/mirror so no merge will happen here; canonical fix is in Automattic/newspack-workspace#172. Tracking: DEVPROD-1072
mahangu
pushed a commit
to Automattic/newspack-multibranded-site
that referenced
this pull request
May 31, 2026
Updates the branch HEAD so the closed PR's files-changed view shows the correct SHA. Repo is auto-closed legacy/mirror so no merge will happen here; canonical fix is in Automattic/newspack-workspace#172. Tracking: DEVPROD-1072
mahangu
pushed a commit
to Automattic/newspack-network
that referenced
this pull request
May 31, 2026
Updates the branch HEAD so the closed PR's files-changed view shows the correct SHA. Repo is auto-closed legacy/mirror so no merge will happen here; canonical fix is in Automattic/newspack-workspace#172. Tracking: DEVPROD-1072
mahangu
pushed a commit
to Automattic/newspack-newsletters
that referenced
this pull request
May 31, 2026
Updates the branch HEAD so the closed PR's files-changed view shows the correct SHA. Repo is auto-closed legacy/mirror so no merge will happen here; canonical fix is in Automattic/newspack-workspace#172. Tracking: DEVPROD-1072
Tracking: DEVPROD-1072
63cc829 to
02544bb
Compare
adekbadek
approved these changes
Jun 10, 2026
|
Hey @mahangu, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hardens the repository’s GitHub Actions security posture by pinning third-party actions used in workspace workflows to immutable commit SHAs (while keeping Dependabot GitHub Actions updates in place).
Changes:
- Pin
pnpm/action-setupusages tob906affcce14559ad1aafd4ab0e942779e9f58b1(v4.3.0). - Pin
shivammathur/setup-phpusages to7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc(2.37.1). - Pin
dependabot/fetch-metadataandthollander/actions-comment-pull-requestto their respective commit SHAs.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/sync-legacy.yml |
Pins pnpm/action-setup to a commit SHA for the legacy sync workflow. |
.github/workflows/release.yml |
Pins pnpm/action-setup and shivammathur/setup-php to commit SHAs for release automation. |
.github/workflows/publish-baseline-releases.yml |
Pins pnpm/action-setup and shivammathur/setup-php to commit SHAs for baseline release publishing. |
.github/workflows/ci.yml |
Pins pnpm/action-setup and shivammathur/setup-php to commit SHAs across CI jobs. |
.github/workflows/changelog.yml |
Pins thollander/actions-comment-pull-request to a commit SHA for PR commenting. |
.github/workflows/auto-merge.yml |
Pins dependabot/fetch-metadata to a commit SHA for Dependabot automerge. |
.github/workflows/_release-wporg.yml |
Pins pnpm/action-setup and shivammathur/setup-php to commit SHAs for WP.org deployment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins third-party GitHub Actions in Newspack workspace workflows to immutable commit SHAs. Dependabot GitHub Actions coverage already exists in this repo, so this PR leaves the Dependabot config unchanged.
Tracking: DEVPROD-1072
Verification commands: