Skip to content

Dependabot ignore semantic version not working with latest dependabot-updater-maven  #10634

@phuc98ute

Description

@phuc98ute

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

maven

Package manager version

maven

Language version

Java

Manifest location and content before the Dependabot update

https://github.com/phuc98ute/dependabot-ignore-major/blob/main/pom.xml

dependabot.yml content

Ref here: https://github.com/phuc98ute/dependabot-ignore-major/blob/main/.github/dependabot.yml

Updated dependency

org.mockito:mockito-core from 4.11.0 to 5.0.0

What you expected to see, versus what you actually saw

  • Expect no version update for org.mockito:mockito-core.
  • Actual: The dependabot create PR to upgrade depedency to next major version 5.0.0
    On the github action log, it show that the updater received correct ignore version config at here and here. However, it found a latest version 5.0.0 and decide to upgrade version from 4.11.0 to 5.0.0 here

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

https://github.com/phuc98ute/dependabot-ignore-major/pull/1

Smallest manifest that reproduces the issue

Please ref to public demo repo here: https://github.com/phuc98ute/dependabot-ignore-major

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions