Skip to content

Reference actions/* by major version instead of commit SHA - #16404

Merged
jdaugherty merged 1 commit into
7.0.xfrom
ci/unpin-first-party-actions-7.0.x
Sep 25, 2026
Merged

jdaugherty merged 1 commit into
7.0.xfrom
ci/unpin-first-party-actions-7.0.x

Conversation

@jdaugherty

Copy link
Copy Markdown
Contributor

Follow-up for #16025 (comment)

Align 7.0.x with the agreed GitHub Actions reference policy ahead of
the 8.0.x repository-conventions gate (#16025), which rejects commit
SHAs for the actions/* and apache/* namespaces. Without this, every
workflow change merged up from 7.0.x carries a SHA pin that fails the
gate on 8.0.x.

The ASF allows every version in the actions/* namespace, so each
reference moves to the full tag of that action's latest release:

- actions/checkout v6.0.2 -> v7.0.1
- actions/setup-java v5.2.0 -> v6.0.1
- actions/cache v4.3.0 -> v6.1.0
- actions/upload-artifact v7.0.1 (unchanged version)
- actions/download-artifact v8.0.1 (unchanged version)

Every input the workflows pass is still declared by the new versions.
The checkout v7 pull_request_target change does not apply: the only
such job checks out the base branch. Every job runs on GitHub-hosted
runners, which meet the Node 24 runtime requirement.

Third-party actions, including github/*, stay SHA-pinned to
ASF-approved commits. The AGENTS.md GitHub Actions rules are updated
to match.
@jdaugherty
jdaugherty merged commit 0b0a153 into 7.0.x Sep 25, 2026
48 checks passed
@jdaugherty
jdaugherty deleted the ci/unpin-first-party-actions-7.0.x branch September 25, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants