Skip to content

Update all GitHub Actions to latest versions#156

Merged
jwijgerd merged 4 commits intomainfrom
copilot/fix-7072e4f7-7f37-4c98-ab33-d5a96213ebda
Oct 4, 2025
Merged

Update all GitHub Actions to latest versions#156
jwijgerd merged 4 commits intomainfrom
copilot/fix-7072e4f7-7f37-4c98-ab33-d5a96213ebda

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 4, 2025

This PR updates all GitHub Actions used in the repository workflows to their latest available versions using major version tags. Keeping GitHub Actions up to date ensures we benefit from the latest security patches, bug fixes, performance improvements, and new features.

Changes

The following actions have been updated across all workflow files:

Action Previous Version New Version
actions/checkout v4 v5
actions/setup-java v4 v5
actions/cache v4 v4
github/codeql-action/init v3 v3
github/codeql-action/analyze v3 v3
release-drafter/release-drafter v6 v6

Note: All actions use major version tags (e.g., v5, v4) to automatically receive patch and minor updates while maintaining compatibility.

Modified Workflows

  • .github/workflows/codeql.yml - CodeQL security scanning workflow
  • .github/workflows/copilot-setup-steps.yml - GitHub Copilot setup workflow
  • .github/workflows/maven.yml - CI build workflow
  • .github/workflows/maven-publish.yml - Release and publish workflow

Validation

All workflow files have been validated for correct YAML syntax and the updates maintain compatibility with existing workflow configurations. No functional changes have been made to the workflow logic - only version numbers have been updated.

Benefits

  • Security: Latest versions include security patches and vulnerability fixes
  • Stability: Bug fixes and improved reliability in newer releases
  • Performance: Potential performance improvements in newer action versions
  • Features: Access to latest features and improvements (e.g., checkout v5 includes better support for sparse checkouts and improved performance)
  • Automatic Updates: Major version tags automatically receive patch and minor updates without requiring manual updates
Original prompt

update all the versions used in the github actions steps to latest


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits October 4, 2025 12:00
Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com>
Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com>
@jwijgerd
Copy link
Copy Markdown
Contributor

jwijgerd commented Oct 4, 2025

@copilot only use major versions

Copilot AI changed the title [WIP] update all the versions used in the github actions steps to latest Update all GitHub Actions to latest versions Oct 4, 2025
Copilot AI requested a review from jwijgerd October 4, 2025 12:03
Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Oct 4, 2025

@copilot only use major versions

Updated to use only major versions for all GitHub Actions (commit 0b00a33).

@jwijgerd jwijgerd marked this pull request as ready for review October 4, 2025 12:13
@jwijgerd jwijgerd merged commit 2fa719b into main Oct 4, 2025
5 of 6 checks passed
@jwijgerd jwijgerd deleted the copilot/fix-7072e4f7-7f37-4c98-ab33-d5a96213ebda branch October 4, 2025 12:13
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