ci: audit and update GitHub Actions to ASF-approved versions#251
Merged
Conversation
Pin every external GitHub Action to a full commit SHA from the ASF approved actions allow-list, with a trailing comment naming the version it resolves to. Mirrors the grails-core audit in apache/grails-core#15690. - actions/checkout -> de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (was v4, v6) - peter-evans/create-pull-request -> 5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 (was v7, v8) First-party apache/grails-github-actions/* and local ./.github/actions/* references are intentionally left unchanged. Assisted-by: claude-code:claude-4.8-opus
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s GitHub Actions workflow references to align with the ASF allow-list audit approach by SHA-pinning external actions and annotating the resolved action versions inline.
Changes:
- Pin
actions/checkoutto a full commit SHA (with# v6.0.2annotation) in affected workflows. - Pin
peter-evans/create-pull-requestto a full commit SHA (with# v8.1.1annotation) in affected workflows.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/updateIndex.yml | SHA-pins actions/checkout and peter-evans/create-pull-request to approved, immutable refs. |
| .github/workflows/syncVersion.yml | SHA-pins actions/checkout and peter-evans/create-pull-request to approved, immutable refs. |
💡 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.
What
Audit of every GitHub Action used in this repository against the ASF approved actions allow-list, updating each to its current approved version and pinning every external action to a full commit SHA with a trailing comment naming the version it resolves to.
This mirrors the audit performed on grails-core in apache/grails-core#15690 and brings this repository back onto supported, allow-list-approved action versions.
Changes
actions/checkoutde0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2peter-evans/create-pull-request5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1First-party
apache/grails-github-actions/*references and local./.github/actions/*composites are intentionally left unchanged.Verification
# versioncomment; the only non-SHA refs remaining are the first-partyapache/*@asfones and local composite actions.