Skip to content

ci: Add Dependabot config on main for main and 5.x.x - #1426

Merged
ZPascal merged 1 commit into
cloudfoundry:mainfrom
ZPascal:dependabot-config-main
Dec 2, 2026
Merged

ZPascal merged 1 commit into
cloudfoundry:mainfrom
ZPascal:dependabot-config-main

Conversation

@ZPascal

@ZPascal ZPascal commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

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.

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.
@ZPascal
ZPascal merged commit 28d098f into cloudfoundry:main Dec 2, 2026
4 checks passed
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).
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