[ci] Fix version number of gradle-update/update-gradle-wrapper-action#3273
Conversation
📝 WalkthroughWalkthroughGitHub Actions workflows were tweaked to update action versions: two publish workflows switch the Gradle wrapper validation action from v3 to v6, and the update-gradle-wrapper workflow changes the gradle-update action reference from v6 to v2. No other workflow logic was changed. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/update-gradle-wrapper.yml:
- Line 15: The workflow currently uses the validation action (uses:
gradle/actions/wrapper-validation@v6) which only validates the wrapper; replace
that step in the "Update Gradle Wrapper" job with the official update action
(gradle-update/gradle-update-action@vX) so it creates PRs to bump the wrapper.
Update the step "uses" reference from gradle/actions/wrapper-validation to
gradle-update/gradle-update-action, add required inputs (e.g., GITHUB_TOKEN or
repository-token) per the action docs, and keep any existing schedule/branch
settings so the job opens an automatic update PR instead of only validating.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 261751d5-c80c-461e-abd0-ce28c99082bd
📒 Files selected for processing (3)
.github/workflows/publish-maven-central.yml.github/workflows/publish-snapshot.yml.github/workflows/update-gradle-wrapper.yml
Also adjust gradle/actions/wrapper-validation to v6
488e361 to
e936471
Compare
|
|
||
| - name: Update Gradle Wrapper | ||
| uses: gradle-update/update-gradle-wrapper-action@v6 | ||
| uses: gradle-update/update-gradle-wrapper-action@v2 |
There was a problem hiding this comment.
I don't get why the action if downgraded from v6 to v2
There was a problem hiding this comment.
No v6 exists. That why the execution of the action failed tonight: https://github.com/testng-team/testng/actions/runs/25146310886
I wanted to fix it this morning and wrongly replaced the action. Now it should be working again (failing with the issue as before).
Also adjust gradle/actions/wrapper-validation to v6
Summary by CodeRabbit