Skip to content

Conversation

@brettfo
Copy link
Contributor

@brettfo brettfo commented Dec 11, 2025

If a PR already exists, no call to create_pull_request should be made.

Currently this is incorrect as it performs the check only for grouped updates and it does the check too early.

The fix is to check for both grouped and ungrouped but only after an update attempt has been made. This allows for a scenario where a PR exists for Some.Package/2.0.0 but if an update is suddenly possible for Some.Package/2.1.0 then it will be created.

Fixes #13647.

@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Dec 11, 2025
@brettfo brettfo marked this pull request as ready for review December 11, 2025 01:51
@brettfo brettfo requested a review from a team as a code owner December 11, 2025 01:51
@brettfo brettfo force-pushed the dev/brettfo/nuget-ignore-existing branch from 8c40126 to c6f52d5 Compare December 11, 2025 19:50
@brettfo brettfo merged commit 1c87a34 into main Dec 11, 2025
98 checks passed
@brettfo brettfo deleted the dev/brettfo/nuget-ignore-existing branch December 11, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: dotnet:nuget NuGet packages via nuget or dotnet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependabot opens new PR after closing existing one

3 participants