Skip to content

Bump actions/setup-java from 4 to 5 in /.github/workflows in the github-actions-version-updates group across 1 directory#3239

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/dot-github/workflows/github-actions-version-updates-02740c4fb1
Closed

Bump actions/setup-java from 4 to 5 in /.github/workflows in the github-actions-version-updates group across 1 directory#3239
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/dot-github/workflows/github-actions-version-updates-02740c4fb1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2025

Bumps the github-actions-version-updates group with 1 update in the /.github/workflows directory: actions/setup-java.

Updates actions/setup-java from 4 to 5

Release notes

Sourced from actions/setup-java's releases.

v5.0.0

What's Changed

Breaking Changes

Make sure your runner is updated to this version or newer to use this release. v2.327.1 Release Notes

Dependency Upgrades

Bug Fixes

New Contributors

Full Changelog: actions/setup-java@v4...v5.0.0

v4.7.1

What's Changed

Documentation changes

Dependency updates:

Full Changelog: actions/setup-java@v4...v4.7.1

v4.7.0

What's Changed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 25, 2025
@dependabot dependabot bot added the github_actions Pull requests that update GitHub Actions code label Aug 25, 2025
@netlify
Copy link

netlify bot commented Aug 25, 2025

Deploy Preview for docs-securecodebox canceled.

Name Link
🔨 Latest commit b89c8eb
🔍 Latest deploy log https://app.netlify.com/projects/docs-securecodebox/deploys/68ad62348a417a0008952174

@J12934
Copy link
Member

J12934 commented Aug 26, 2025

@dependabot rebase

Bumps the github-actions-version-updates group with 1 update in the /.github/workflows directory: [actions/setup-java](https://github.com/actions/setup-java).


Updates `actions/setup-java` from 4 to 5
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions-version-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/dot-github/workflows/github-actions-version-updates-02740c4fb1 branch from d6ca69e to b89c8eb Compare August 26, 2025 07:28
@sonarqubecloud
Copy link

fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v4
Copy link
Member

Choose a reason for hiding this comment

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

mh documentation said dependabot would update the version comments after the hashes :/

dependabot/dependabot-core#4691

Copy link
Member

@J12934 J12934 left a comment

Choose a reason for hiding this comment

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

version comment needs to match

@github-project-automation github-project-automation bot moved this from Triage to To Review in secureCodeBox Aug 27, 2025
@J12934 J12934 moved this from To Review to Todo in secureCodeBox Aug 27, 2025
@J12934
Copy link
Member

J12934 commented Sep 3, 2025

problem seems to be that dependabot only supports this if the comments have the full version e.g. v4.0.1 not just v4
so we should probably go through all of them to pin them like this... :/
Was using https://www.npmjs.com/package/pin-github-action for the inital pinning but it doesn't seem like it could help us with this.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 8, 2025

Looks like actions/setup-java is updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Sep 8, 2025
@dependabot dependabot bot deleted the dependabot/github_actions/dot-github/workflows/github-actions-version-updates-02740c4fb1 branch September 8, 2025 09:33
@github-project-automation github-project-automation bot moved this from Todo to Done in secureCodeBox Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant