Skip to content

[ci] Update GitHub Actions to latest major/pinned release#3271

Merged
juherr merged 1 commit into
testng-team:masterfrom
gruenich:feature/update-github-actions
Apr 28, 2026
Merged

[ci] Update GitHub Actions to latest major/pinned release#3271
juherr merged 1 commit into
testng-team:masterfrom
gruenich:feature/update-github-actions

Conversation

@gruenich

@gruenich gruenich commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Fixes most deprecation warnings that Node20.js will stop working in June.

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions across all continuous integration workflows to their latest major versions for enhanced performance and reliability. This includes improvements to repository checkout, Java environment configuration, artifact management, build caching, and Gradle wrapper validation processes. These infrastructure updates strengthen security practices and optimize overall build pipeline performance and system stability.

Fixes most deprecation warnings that Node20.js will stop
working in June.
@coderabbitai

coderabbitai Bot commented Apr 28, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c616bbc4-b0b0-4a97-a9df-53dd646b20b9

📥 Commits

Reviewing files that changed from the base of the PR and between fa22dbe and 7ecd16f.

📒 Files selected for processing (6)
  • .github/workflows/gradle-wrapper-validation.yml
  • .github/workflows/label-commenter.yml
  • .github/workflows/publish-maven-central.yml
  • .github/workflows/publish-snapshot.yml
  • .github/workflows/test.yml
  • .github/workflows/update-gradle-wrapper.yml

📝 Walkthrough

Walkthrough

Multiple GitHub Actions workflows are updated with newer versions of third-party actions. actions/checkout is upgraded from v4 to v6 across all workflows, with additional version bumps for Java setup, Gradle tools, and testing infrastructure actions.

Changes

Cohort / File(s) Summary
Checkout Upgrades (v4→v6)
gradle-wrapper-validation.yml, label-commenter.yml, publish-maven-central.yml, publish-snapshot.yml, test.yml, update-gradle-wrapper.yml
All workflows upgraded actions/checkout from v4 to v6.
Setup Java Upgrades (v4→v5)
publish-maven-central.yml, publish-snapshot.yml, test.yml
actions/setup-java upgraded from v4 to v5 while maintaining Java 21 configuration.
Gradle Wrapper Actions
gradle-wrapper-validation.yml, update-gradle-wrapper.yml
gradle/actions/wrapper-validation upgraded v5→v6; gradle-update/update-gradle-wrapper-action upgraded v2→v6.
Test Infrastructure
test.yml
Additional updates: oracle-actions/setup-java pinned commit bump, actions/github-script v7→v9, burrunan/gradle-cache-action v2→v3, actions/upload-artifact v4→v7.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hoppity hop, the versions all rise,
From v4 to v6, a technical surprise,
Actions so fresh, they validate with cheer,
New Gradle and Java throughout the year!
The workflows take shape with modern release.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating multiple GitHub Actions across workflow files to newer major versions, which is the core objective of this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@juherr juherr merged commit ccc766a into testng-team:master Apr 28, 2026
10 checks passed
@juherr

juherr commented Apr 28, 2026

Copy link
Copy Markdown
Member

Thanks

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.

3 participants