Skip to content

Restore Dependabot configuration after branch swap - #1177

Merged
slawekjaranowski merged 1 commit into
apache:masterfrom
slawekjaranowski:dependabot-branch-swap
Oct 22, 2026
Merged

slawekjaranowski merged 1 commit into
apache:masterfrom
slawekjaranowski:dependabot-branch-swap

Conversation

@slawekjaranowski

Copy link
Copy Markdown
Member

After the branch swap (apache/maven-sources#57) master holds the
.github/dependabot.yml from the former maven-compiler-plugin-3.x branch. Dependabot reads
its configuration only from the default branch, so that file was never used:
master lost the ignore rules of the 3.x line, and maven-compiler-plugin-4.x gets no updates.

This restores the configuration that was effective before the swap
(the file now on maven-compiler-plugin-4.x) with only the branch names swapped:
entries for maven-compiler-plugin-3.x now apply to master, and the former default-branch
entries target maven-compiler-plugin-4.x.

[ci skip]

🤖 Generated with Claude Code

[ci skip]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR correctly restores the Dependabot configuration after the branch swap (apache/maven-sources#57). The mirror logic is sound: the two maven entries and two github-actions entries correctly cover both master (3.x line) and the new maven-compiler-plugin-4.x target, matching the structure that was on the 4.x branch before the swap.

One thing to be aware of: The existing Maven Core ignore rule (org.apache.maven:*) that was on master has been deliberately dropped here — the 4.x branch's entry for the 3.x target had only the Mockito pin, not the Maven Core ignore. If you want Maven Core updates to remain suppressed on the 3.x line too, add it back alongside the Mockito ignore.

Also note that open PR #1172 (Mockito 4 → 5 bump) is now superseded by the ignore rule added here (org.mockito:* >= 5.0.0). Once this PR is merged, Dependabot will stop creating Mockito 5.x bumps for the 3.x branch, and #1172 can be closed.

LGTM otherwise — the structure mirrors the 4.x file faithfully with the branch names correctly swapped.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@slawekjaranowski
slawekjaranowski merged commit 8d4e2e8 into apache:master Oct 22, 2026
@slawekjaranowski
slawekjaranowski deleted the dependabot-branch-swap branch October 22, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants