Skip to content

Commit e782576

Browse files
committed
Enable dependabot on 3.1
1 parent 6157e83 commit e782576

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ updates:
1717
- dependency-name: "actions/*"
1818
- dependency-name: "redhat-actions/*"
1919

20-
- package-ecosystem: "gradle"
20+
# Define the shared Gradle configuration as an anchor so we can have different target branches
21+
- &gradle-common
22+
package-ecosystem: "gradle"
2123
directory: "/"
2224
schedule:
2325
interval: "weekly"
@@ -37,7 +39,6 @@ updates:
3739
mutiny:
3840
patterns:
3941
- "io.smallrye.reactive*"
40-
# Testcontainers plus the JDBC driver we need for testing
4142
testcontainers:
4243
patterns:
4344
- "org.testcontainers*"
@@ -48,17 +49,22 @@ updates:
4849
- "com.fasterxml.jackson.core*"
4950
- "com.mysql*"
5051
- "org.mariadb.jdbc*"
51-
5252
ignore:
53-
# For Hibernate Validator, we will need to update major version manually as needed (but we only use it in tests)
5453
- dependency-name: "org.glassfish.expressly*"
55-
update-types: ["version-update-:semver-major"]
56-
# Only patches for Hibernate ORM and Vert.x
54+
update-types: ["version-update:semver-major"]
5755
- dependency-name: "org.hibernate*"
5856
update-types: ["version-update:semver-major", "version-update:semver-minor"]
5957
- dependency-name: "io.vertx*"
6058
update-types: ["version-update:semver-major", "version-update:semver-minor"]
6159

60+
# Apply anchor configuration to main
61+
- <<: *gradle-common
62+
target-branch: "main"
63+
64+
# Apply anchor configuration to 3.1
65+
- <<: *gradle-common
66+
target-branch: "3.1"
67+
6268
# Dockerfiles in tooling/docker/, and database services we use for examples (MySQL and PostgreSQL)
6369
- package-ecosystem: "docker"
6470
directory: "/tooling/docker"

0 commit comments

Comments
 (0)