Skip to content

[RUN-4430] : increase actions version#433

Merged
ronaveva merged 2 commits into
mainfrom
RUN-4430
May 4, 2026
Merged

[RUN-4430] : increase actions version#433
ronaveva merged 2 commits into
mainfrom
RUN-4430

Conversation

@ronaveva

@ronaveva ronaveva commented May 4, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the GitHub Actions workflow files to use the latest major versions of key GitHub Actions. The main focus is on keeping the CI/CD pipeline up-to-date and secure by upgrading the action versions.

GitHub Actions version upgrades:

  • Upgraded actions/checkout from v4 to v5 in both .github/workflows/gradle.yml and .github/workflows/release.yml to use the latest improvements and bug fixes. [1] [2]
  • Upgraded actions/setup-java from v4 to v5 in both workflow files to ensure compatibility and leverage new features for Java setup. [1] [2]
  • Upgraded actions/upload-artifact from v4 to v5 in .github/workflows/gradle.yml for improved artifact handling and reliability.

@ronaveva ronaveva added this to the 6.0.0 milestone May 4, 2026
@ronaveva ronaveva requested review from Jesus-Osuna-M and Copilot May 4, 2026 20:35
@ronaveva ronaveva merged commit cd89bb1 into main May 4, 2026
4 of 6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s GitHub Actions workflows to newer major versions of the core first-party actions used by CI and release automation. This keeps the Java build and release pipelines aligned with newer action releases, but the updated refs still need review from a workflow supply-chain perspective.

Changes:

  • Upgraded actions/checkout from v4 to v5 in the CI and release workflows.
  • Upgraded actions/setup-java from v4 to v5 in both workflows.
  • Upgraded actions/upload-artifact from v4 to v5 in the Gradle CI workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/gradle.yml Updates the CI workflow’s checkout, Java setup, and artifact upload actions to newer major versions.
.github/workflows/release.yml Updates the release workflow’s checkout and Java setup actions to newer major versions.
Comments suppressed due to low confidence (1)

.github/workflows/gradle.yml:41

  • actions/upload-artifact is also using a mutable major tag here, so artifact publishing behavior can change later without a corresponding change in this repository. Pinning the action to an immutable commit SHA would avoid that supply-chain risk and keep CI runs reproducible.
      - name: Upload plugin jar
        uses: actions/upload-artifact@v5
        with:
          # Artifact name
          name: Grails-Plugin-${{ steps.get_version.outputs.VERSION }}
          # Directory containing files to upload
          path: build/libs/ansible-plugin-${{ steps.get_version.outputs.VERSION }}.jar

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +14 to +18
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
uses: actions/setup-java@v5
Comment on lines +11 to 13
- uses: actions/checkout@v5
with:
fetch-depth: 0
if: "!contains(github.ref, 'refs/tags')"
- name: Set up JDK 17
uses: actions/setup-java@v4
uses: actions/setup-java@v5
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