Skip to content

Commit bc3d73c

Browse files
committed
Disable major version SLF4J bumps
1 parent 1243f2c commit bc3d73c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/dependabot.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ updates:
8888
# WebCompere System Stubs requires Java 11
8989
- dependency-name: "uk.org.webcompere:*"
9090
versions: ["2.1.0,)"]
91-
# Slf4j Extensions contain a breaking change in 1.7.26
92-
- dependency-name: "org.slf4j:slf4j-ext"
93-
versions: ["1.7.26,)"]
91+
# SLF4J 1.7.x should only upgrade to 1.7.x and
92+
# SLF4J 2.x should only upgrade to 2.x.
93+
- dependency-name: "org.slf4j:slf4j-api"
94+
update-types: ["version-update:semver-major"]
9495
# Plexus Utils 4.x are for Maven 4.x
9596
- dependency-name: "org.codehaus.plexus:plexus-utils"
9697
versions: ["4,)"]
@@ -147,9 +148,10 @@ updates:
147148
# Json Unit 3.x requires Java 17
148149
- dependency-name: "net.javacrumbs.json-unit:*"
149150
versions: ["[3.0.0,)"]
150-
# Slf4j Extensions contain a breaking change in 1.7.26
151-
- dependency-name: "org.slf4j:slf4j-ext"
152-
versions: ["1.7.26,)"]
151+
# SLF4J 1.7.x should only upgrade to 1.7.x and
152+
# SLF4J 2.x should only upgrade to 2.x.
153+
- dependency-name: "org.slf4j:slf4j-api"
154+
update-types: ["version-update:semver-major"]
153155
# Plexus Utils 4.x are for Maven 4.x
154156
- dependency-name: "org.codehaus.plexus:plexus-utils"
155157
versions: ["4,)"]

0 commit comments

Comments
 (0)