Repository navigation
ci: Add Dependabot config on main for main and 5.x.x - #1426
Merged
Merged
Conversation
Dependabot only reads its config from the default branch, so the dependabot.yml added to 5.x.x in cloudfoundry#1404 has no effect. Add the config on main instead and use target-branch to cover both main and 5.x.x. 5.x.x still ships Java 8 artifacts, so it only gets minor and patch updates there. Major updates like Spring Boot 3 or Spring 6 would need Java 17.
This was referenced Nov 30, 2026
Lokowandtg
approved these changes
Dec 2, 2026
ZPascal
added a commit
that referenced
this pull request
Dec 2, 2026
Dependabot only reads its config from the default branch, so this file was never picked up. The updates for 5.x.x are now configured on main with target-branch (#1426).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the third step from the discussion in #1424.
Dependabot only reads its config from the default branch. The dependabot.yml we added to 5.x.x in #1404 is never picked up, so right now there are no scheduled version updates at all, only the security ones.
This adds the config on main and uses target-branch so both main and 5.x.x get Maven and GitHub Actions updates, same schedule as before (Monday and Thursday at 06:00 UTC).
For 5.x.x I only allow minor and patch updates. That branch still ships Java 8 artifacts and most major bumps (Spring Boot 3, Spring 6 and so on) need Java 17, so those PRs would just be noise. We can still do a major bump there by hand when it makes sense, like we did for Wire.
Once this is merged, the copy on 5.x.x can be removed. I'll open a small PR for that.