Ignore major JUnit Dependabot updates - #1702
Merged
Merged
Conversation
ArchUnit deliberately maintains JUnit 5 and JUnit 6 test configurations side by side. Dependabot otherwise proposes changing the explicit JUnit 5 Jupiter and Vintage dependencies to JUnit 6. Ignore only semantic-major updates so both baselines continue to receive their minor and patch updates. Signed-off-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com>
schulzjo-tng
force-pushed
the
dependabot-ignore-junit-major
branch
from
August 14, 2026 15:06
afbd8fd to
986f693
Compare
hankem
reviewed
Aug 14, 2026
Comment on lines
+7
to
+11
| ignore: | ||
| - dependency-name: "org.junit.jupiter:junit-jupiter" | ||
| update-types: ["version-update:semver-major"] | ||
| - dependency-name: "org.junit.vintage:junit-vintage-engine" | ||
| update-types: ["version-update:semver-major"] |
Member
There was a problem hiding this comment.
Will we need the same for
junit5PlatformCommons = { group = "org.junit.platform", name = "junit-platform-commons", version.ref = "junit5Platform" }
junit5PlatformEngine = { group = "org.junit.platform", name = "junit-platform-engine", version.ref = "junit5Platform" }
junit5PlatformLauncher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junit5Platform" }
to keep them distinct from
junit6PlatformCommons = { group = "org.junit.platform", name = "junit-platform-commons", version.ref = "junit6" }
junit6PlatformEngine = { group = "org.junit.platform", name = "junit-platform-engine", version.ref = "junit6" }
junit6PlatformLauncher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junit6" }
?
Contributor
Author
There was a problem hiding this comment.
I manually re-triggered dependabot and it did not try to update those. I'd just wait and see if this becomes a problem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ArchUnit deliberately maintains JUnit 5 and JUnit 6 test configurations side by side. Dependabot otherwise proposes changing the explicit JUnit 5 Jupiter and Vintage dependencies to JUnit 6.
Ignore only semantic-major updates so both baselines continue to receive their minor and patch updates.