@@ -19,6 +19,7 @@ updates:
1919
2020 - package-ecosystem : " gradle"
2121 directory : " /"
22+ target-branch : " main"
2223 schedule :
2324 interval : " weekly"
2425 day : " tuesday"
@@ -48,7 +49,6 @@ updates:
4849 - " com.fasterxml.jackson.core*"
4950 - " com.mysql*"
5051 - " org.mariadb.jdbc*"
51-
5252 ignore :
5353 # For Hibernate Validator, we will need to update major version manually as needed (but we only use it in tests)
5454 - dependency-name : " org.glassfish.expressly*"
@@ -62,6 +62,56 @@ updates:
6262 # Dockerfiles in tooling/docker/, and database services we use for examples (MySQL and PostgreSQL)
6363 - package-ecosystem : " docker"
6464 directory : " /tooling/docker"
65+ target-branch : " main"
66+ schedule :
67+ interval : " weekly"
68+ allow :
69+ - dependency-type : " all"
70+
71+ # Duplicate the previous package-ecosystems because we want to target branch 3.1
72+ # and dependabot doesn't support YAML aliases and anchors at the moment
73+ - package-ecosystem : " gradle"
74+ directory : " /"
75+ target-branch : " 3.1"
76+ schedule :
77+ interval : " weekly"
78+ day : " tuesday"
79+ open-pull-requests-limit : 20
80+ groups :
81+ hibernate-validator :
82+ patterns :
83+ - " org.hibernate.validator*"
84+ - " org.glassfish.expressly*"
85+ hibernate :
86+ patterns :
87+ - " org.hibernate*"
88+ vertx :
89+ patterns :
90+ - " io.vertx*"
91+ mutiny :
92+ patterns :
93+ - " io.smallrye.reactive*"
94+ testcontainers :
95+ patterns :
96+ - " org.testcontainers*"
97+ - " com.ibm.db2*"
98+ - " com.microsoft.sqlserver*"
99+ - " org.postgresql*"
100+ - " con.ongres.scram*"
101+ - " com.fasterxml.jackson.core*"
102+ - " com.mysql*"
103+ - " org.mariadb.jdbc*"
104+ ignore :
105+ - dependency-name : " org.glassfish.expressly*"
106+ update-types : ["version-update:semver-major"]
107+ - dependency-name : " org.hibernate*"
108+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
109+ - dependency-name : " io.vertx*"
110+ update-types : ["version-update:semver-major", "version-update:semver-minor"]
111+
112+ - package-ecosystem : " docker"
113+ directory : " /tooling/docker"
114+ target-branch : " 3.1"
65115 schedule :
66116 interval : " weekly"
67117 allow :
0 commit comments