Skip to content

ci: audit and update GitHub Actions to ASF-approved versions#251

Merged
jamesfredley merged 1 commit into
mainfrom
ci/setup-gradle-v6-basic-cache
May 30, 2026
Merged

ci: audit and update GitHub Actions to ASF-approved versions#251
jamesfredley merged 1 commit into
mainfrom
ci/setup-gradle-v6-basic-cache

Conversation

@jamesfredley
Copy link
Copy Markdown
Contributor

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

Action Before After (pinned SHA # version)
actions/checkout v4, v6 de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
peter-evans/create-pull-request v7, v8 5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1

First-party apache/grails-github-actions/* references and local ./.github/actions/* composites are intentionally left unchanged.

Verification

  • Every external action is SHA-pinned with a # version comment; the only non-SHA refs remaining are the first-party apache/* @asf ones and local composite actions.
  • All modified workflow YAML files parse cleanly.

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
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/checkout to a full commit SHA (with # v6.0.2 annotation) in affected workflows.
  • Pin peter-evans/create-pull-request to a full commit SHA (with # v8.1.1 annotation) 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.

@jamesfredley jamesfredley merged commit ef8a645 into main May 30, 2026
1 check passed
@jamesfredley jamesfredley deleted the ci/setup-gradle-v6-basic-cache branch May 30, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants