Repository navigation
Pin GitHub Actions to SHA checksums - #322
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Pins all third-party GitHub Actions used in the Maven workflow to immutable commit SHAs to reduce supply-chain risk from mutable tags.
Changes:
- Replaced version tags (e.g.,
@v4,@v8) with full commit SHAs for all referenced actions. - Replaced
@latestusage with a pinned SHA formarvinpinto/action-automatic-releases. - Added inline comments indicating the corresponding action release version for easier future updates.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- actions/checkout v4.3.1 → v6.0.2 - actions/setup-java v4.8.0 → v5.2.0 - tj-actions/branch-names v8.2.1 → v9.0.2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Pin all GitHub Actions references to their full SHA checksums to prevent supply chain attacks via tag
manipulation, and update actions to latest versions where available.
Actions pinned and updated
actions/checkoutde0fac2eactions/setup-javabe666c2ftj-actions/branch-names52504926peaceiris/actions-gh-pages4f9cc660marvinpinto/action-automatic-releases919008cfVersion comments are included inline for easy identification during future updates.
Note: All SHA checksums were verified manually against their corresponding release tags.