Skip to content

Dependabot not updating all required packages.lock.json files from referencing projects #12318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
Tsingis opened this issue May 25, 2025 · 0 comments
Open
1 task done
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet T: bug 🐞 Something isn't working

Comments

@Tsingis
Copy link

Tsingis commented May 25, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

nuget

Package manager version

No response

Language version

.NET 9

Manifest location and content before the Dependabot update

https://github.com/Tsingis/bitcoin-web-api/pull/175/files

dependabot.yml content

version: 2
updates:
  - package-ecosystem: "nuget"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "wednesday"
      time: "21:00"
      timezone: "Europe/Helsinki"
    target-branch: "master"
    groups:
      asp:
        patterns:
          - "Asp.Versioning.*"
      microsoft:
        patterns:
          - "Microsoft.AspNetCore.*"
          - "Microsoft.Extensions.*"
      serilog:
        patterns:
          - "Serilog*"

Updated dependency

Swashbuckle.AspNetCore.SwaggerUI from 8.1.1 to 8.1.2

What you expected to see, versus what you actually saw

Expecting to update packages.lock.json from integration tests project aswell when it has project reference to api project due WebApplicationFactory usage

Native package manager behavior

dotnet build generates the required missing packages.lock.json file for integration tests project.

See example required changes: Tsingis/bitcoin-web-api@7019784

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

Tsingis/bitcoin-web-api#175

Smallest manifest that reproduces the issue

No response

@Tsingis Tsingis added the T: bug 🐞 Something isn't working label May 25, 2025
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label May 25, 2025
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 T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant