Skip to content

Commit 0f213dd

Browse files
authored
Infra: Create more sensible Dependabot groups
1 parent f51df4c commit 0f213dd

File tree

1 file changed

+47
-12
lines changed

1 file changed

+47
-12
lines changed

.github/dependabot.yml

Lines changed: 47 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,55 @@ updates:
1616
# In general, our Netty references are temporary overrides, usually applied to address transitive Spring vulnerabilities, and should be configured with caution
1717
# In general, having conflicting Netty versions in the classpath is not recommended
1818
- dependency-name: "io.netty:*"
19+
# We will handle major upgrades manually
20+
- dependency-name: "*"
21+
update-types:
22+
- "version-update:semver-major"
1923
groups:
2024
spring-boot-dependencies:
2125
patterns:
2226
- "org.springframework.boot:*"
2327
- "io.spring.dependency-management"
24-
# We will handle major upgrades manually
25-
update-types:
26-
- "patch"
27-
- "minor"
28-
other-dependencies:
29-
exclude-patterns:
30-
- "org.springframework.boot:*"
31-
- "io.spring.dependency-management"
28+
- "io.modelcontextprotocol.sdk:mcp-spring-webflux"
29+
# We defined this dependency explicitly because Spring uses an older version
30+
- "com.nimbusds:nimbus-jose-jwt"
31+
testing:
32+
# TODO: Consider using dependency-type when https://github.com/dependabot/dependabot-core/issues/13122 is supported
33+
patterns:
34+
- "org.testcontainers:*"
35+
- "org.junit.jupiter:*"
36+
- "org.assertj:*"
37+
- "com.gorylenko.gradle-git-properties"
38+
- "com.bmuschko.docker-remote-api"
39+
- "org.mockito:*"
40+
# Bouncy Castle is only used for testing purposes
41+
- "org.bouncycastle:bcpkix-jdk18on"
42+
api-build-tools:
43+
patterns:
44+
- "org.openapitools:*"
45+
- "com.github.java-json-tools:*"
46+
- "com.github.victools:*"
47+
# Update Apache Commons libraries together as these dependencies rarely introduce breaking changes
48+
apache-commons:
49+
patterns:
50+
- "org.apache.commons:*"
51+
kafka:
52+
patterns:
53+
- "org.apache.kafka:*"
54+
- "io.confluent:*"
55+
schema-tools:
56+
patterns:
57+
- "com.github.victools:jsonschema-generator"
58+
- "com.github.java-json-tools:json-schema-validator"
59+
- "org.openapitools.openapistylevalidator"
60+
- "org.openapi.generator"
61+
- "io.swagger.core.v3:*"
62+
lucene:
63+
patterns:
64+
- "org.apache.lucene:*"
65+
others:
3266
patterns:
3367
- "*"
34-
update-types:
35-
- "patch"
36-
- "minor"
37-
3868
- package-ecosystem: docker
3969
directory: "/api"
4070
schedule:
@@ -43,6 +73,7 @@ updates:
4373
timezone: Europe/London
4474
open-pull-requests-limit: 10
4575
ignore:
76+
# We handle Major Java updates manually
4677
- dependency-name: "azul/zulu-openjdk-alpine"
4778
update-types: ["version-update:semver-major"]
4879
labels:
@@ -75,6 +106,10 @@ updates:
75106
time: "10:00"
76107
timezone: Europe/London
77108
open-pull-requests-limit: 10
109+
groups:
110+
github-actions:
111+
patterns:
112+
- "*"
78113
labels:
79114
- "type/dependencies"
80115
- "scope/infra"

0 commit comments

Comments
 (0)