Dependabot doesn't seem to ignore NuGet versions #6873
Labels
E: documentation
Docs issues
F: dependency-ignores
Allow excluding certain versions
T: bug 🐞
Something isn't working
Is there an existing issue for this?
Package ecosystem
NuGet
Package manager version
No response
Language version
This is running on an Azure DevOps pipeline, using the Dependabot Azure Extension - https://github.com/tinglesoftware/dependabot-azure-devops/blob/main/extension/README.md#usage
Manifest location and content before the Dependabot update
project.csproj
file:dependabot.yml content
Contents of my
.github/dependabot.yml
file:Updated dependency
If this worked as expected with dependabot ignoring version 7 packages, I would expect two PRs, updating:
Microsoft.EntityFrameworkCore
to6.0.15
Microsoft.EntityFrameworkCore.Relational
to6.0.15
What you expected to see, versus what you actually saw
Instead, I see two PRs, updating to version 7. It is as if the ignore parameters are not being adhered to.
Microsoft.EntityFrameworkCore
to7.0.4
Microsoft.EntityFrameworkCore.Relational
to7.0.4
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Pipeline logs the following:
Checking if Microsoft.EntityFrameworkCore.Relational 6.0.14 needs updating
...
Requirements to unlock own
Requirements update strategy
Updating Microsoft.EntityFrameworkCore.Relational from 6.0.14 to 7.0.4
...
Submitting Microsoft.EntityFrameworkCore.Relational pull request for creation.
Created pull request for Microsoft.EntityFrameworkCore.Relational
Smallest manifest that reproduces the issue
No response
Update:
Changing my
.github/dependabot.yml
ignore config to:Gives me the desired results in this case. I don't understand why I can't just target the specific version of the NuGet package, though. Seems like a bug to me?
The text was updated successfully, but these errors were encountered: