[fix][ci] Update setup-gradle action to v6.2.0 to match ASF actions allowlist#26156
Merged
Merged
Conversation
lhotari
approved these changes
Jul 6, 2026
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.
Motivation
All CI on master-based PRs has been failing since 2026-07-05 with:
Root cause: the ASF org-level Actions allowlist (
approved_patterns.ymlin apache/infrastructure-actions) had expired refs removed on 2026-07-05 ("Remove Expired Refs" commit), which dropped thegradle/actions/setup-gradlev6.0.1 SHA (39e147cb...) that our composite action pins. The currently allowed SHAs are v5.0.2, v6.1.0, and v6.2.0.Affected examples: #26149, #26152, #26153, #26154 (all failing "Build and License check" / "Flaky tests suite" at startup).
Modifications
Bump both
uses:refs in.github/actions/setup-gradle/action.ymlfrom v6.0.1 (39e147cb9de83bb9910b8ef8bd7fff0ee20fcd6f) to v6.2.0 (3f131e8634966bd73d06cc69884922b02e6faf92), the newest SHA on the ASF allowlist, and annotate the pins with the version for future reference.I scanned all other external
uses:refs in.github/against the current allowlist; this was the only non-allowed ref (apache/* and actions/* refs are implicitly allowed).Verifying this change
This change is a trivial CI configuration fix; CI on this PR itself verifies it (the workflow runs from the PR merge ref, so this PR's checks will use the new pin).
Does this pull request potentially affect one of the following parts: