Skip to content

Ignore major JUnit Dependabot updates - #1702

Merged
schulzjo-tng merged 1 commit into
mainfrom
dependabot-ignore-junit-major
Aug 14, 2026
Merged

Ignore major JUnit Dependabot updates#1702
schulzjo-tng merged 1 commit into
mainfrom
dependabot-ignore-junit-major

Conversation

@schulzjo-tng

Copy link
Copy Markdown
Contributor

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.

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
schulzjo-tng force-pushed the dependabot-ignore-junit-major branch from afbd8fd to 986f693 Compare August 14, 2026 15:06
@schulzjo-tng
schulzjo-tng merged commit a1db72e into main Aug 14, 2026
32 checks passed
@schulzjo-tng
schulzjo-tng deleted the dependabot-ignore-junit-major branch August 14, 2026 15:43
Comment thread .github/dependabot.yml
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"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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" }

?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I manually re-triggered dependabot and it did not try to update those. I'd just wait and see if this becomes a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants