diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000..75c4c44e3ee --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,40 @@ +version: 2 +updates: + # main + - package-ecosystem: "maven" + directory: "/" + target-branch: "main" + schedule: + interval: "cron" + cronjob: "0 6 * * 1,4" # Mondays and Thursdays at 06:00 UTC + open-pull-requests-limit: 10 + + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "main" + schedule: + interval: "cron" + cronjob: "0 6 * * 1,4" # Mondays and Thursdays at 06:00 UTC + open-pull-requests-limit: 10 + + # 5.x.x is in maintenance and still ships Java 8 artifacts, so only + # minor and patch updates. Major updates (e.g. Spring Boot 3, Spring 6) + # would need Java 17. + - package-ecosystem: "maven" + directory: "/" + target-branch: "5.x.x" + schedule: + interval: "cron" + cronjob: "0 6 * * 1,4" # Mondays and Thursdays at 06:00 UTC + open-pull-requests-limit: 10 + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] + + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "5.x.x" + schedule: + interval: "cron" + cronjob: "0 6 * * 1,4" # Mondays and Thursdays at 06:00 UTC + open-pull-requests-limit: 10