Skip to content

[fix][ci] Update setup-gradle action to v6.2.0 to match ASF actions allowlist#26156

Merged
lhotari merged 1 commit into
apache:masterfrom
david-streamlio:fix-setup-gradle-allowlist
Jul 6, 2026
Merged

[fix][ci] Update setup-gradle action to v6.2.0 to match ASF actions allowlist#26156
lhotari merged 1 commit into
apache:masterfrom
david-streamlio:fix-setup-gradle-allowlist

Conversation

@david-streamlio

Copy link
Copy Markdown
Contributor

Motivation

All CI on master-based PRs has been failing since 2026-07-05 with:

Error: The action gradle/actions@39e147c is not allowed in apache/pulsar because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns: ...

Root cause: the ASF org-level Actions allowlist (approved_patterns.yml in apache/infrastructure-actions) had expired refs removed on 2026-07-05 ("Remove Expired Refs" commit), which dropped the gradle/actions/setup-gradle v6.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.yml from 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

  • Make sure that the change passes the CI checks.

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:

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

@lhotari lhotari added this to the 5.0.0-M2 milestone Jul 6, 2026
@lhotari lhotari merged commit 4824983 into apache:master Jul 6, 2026
43 checks passed
@david-streamlio david-streamlio deleted the fix-setup-gradle-allowlist branch July 6, 2026 23:16
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