Replace all external github action runner tags with hashes#361
Merged
sirbrillig merged 1 commit into2.xfrom Mar 9, 2026
Merged
Replace all external github action runner tags with hashes#361sirbrillig merged 1 commit into2.xfrom
sirbrillig merged 1 commit into2.xfrom
Conversation
Collaborator
|
@sirbrillig Sorry for the confusion, but this PR is not the right way to do this. The Would you like me to submit a PR to fix this ? |
Owner
Author
|
@jrfnl Oh! Sorry. I misunderstood. My understanding was that Dependabot handled hard-coded branch hashes but I don't have a ton of experience with action runners. Yes, if you have time to submit a PR I'd be happy to accept it, or if it would be easier just let me know what you mean and I can try to implement it. |
Collaborator
|
@sirbrillig Simpler to PR it than to explain. See #362 |
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.
This PR pins all GitHub Actions action runners to full commit SHAs rather than mutable version tags. This protects against supply chain attacks where a compromised action author could push malicious code under an existing tag (e.g.
v2) and have it silently execute in CI with access to repository tokens.Each pinned SHA has the corresponding version tag noted in a comment for readability.
Actions pinned:
actions/checkout@ v6shivammathur/setup-php@ v2ramsey/composer-install@ v3coverallsapp/github-action@ v2phpcsstandards/xmllint-validate@ v1