Pin GitHub actions to SHA#834
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to improve workflow supply-chain security by pinning GitHub Actions references to specific commit SHAs across the repository’s GitHub workflows.
Changes:
- Pinned
actions/checkout,actions/cache,shivammathur/setup-php,ruby/setup-ruby, andgodaddy-wordpress/setup-wp-clito commit SHAs. - Updated translation-related workflows to use the same pinned
actions/checkoutSHA across repositories.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/update-translations-files.yml | Updates actions/checkout reference for translation update automation. |
| .github/workflows/prep-release.yml | Pins checkout + release tooling actions (Ruby setup, WP-CLI setup) for release preparation workflow. |
| .github/workflows/golf-integration-translations-received.yml | Updates actions/checkout pin used by GoLF “received translations” sync workflow. |
| .github/workflows/golf-integration-send-translations.yml | Updates actions/checkout pin used by GoLF “send translations” workflow. |
| .github/workflows/ci.yml | Pins checkout, PHP setup, and cache actions used by CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
This pins all GitHub actions used in our workflows to a SHA. Also updates all
actions/checkoutto be v6 across the board.Story: MWC-19728
QA
Before merge