-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Nuget automatic update failure #1201
Comments
I had this issue too, it is caused by a bug in dependabot-core, see: dependabot/dependabot-core#10156 and dependabot/dependabot-core#10159 It was happening for me because I had a vulnerable package that could only become nonvulernable if it upgrade to the next major version. However, I had "ignore" restrictions in dependabot.yml that prevented it from upgrading to major versions, so it ended up not being able to resolve "lowest_security_fix_version". I worked around it by manually updating the problematic package. It looks like they [dependabot-core] have patched the bug in the base updater, but I am not sure if it is fully fixed in the NuGet updater or not. |
I have this same issue even without any ignore restrictions in my dependabot.yml |
@tyler-hagen : Same here, still facing the issue. |
@prajwalkumar9 @tyler-hagen does it work on tag 1.29.6? |
@rhyskoedijk : No it did not fix for me |
@prajwalkumar9 are you able to share your dependabot.yml config and the name of the package it is failing on, it should mention it above the error/stack trace. |
I solved my problem, it was actually solved by the workaround you (@rhyskoedijk) commented here: #921 (comment) @prajwalkumar9 Are you getting nuget errors when dependabot tries to build your projects? If so, try this out. |
@tyler-hagen @rhyskoedijk With the latest build of dependabot and core i see this following issue. It says Authentication Failure. Attaching the log from the pipeline for reference, |
@prajwalkumar9 are you using private Azure DevOps NuGet feeds in that project? If yes, have you tried the workaround in #921 (comment)? |
@rhyskoedijk : Yes using the private azure devops nuget feeds. is it about passing the extra environment variable to the dependabot tag? |
@prajwalkumar9 yes, until dependabot/dependabot-core#8927 is resolved, you have to use the |
Thank you @rhyskoedijk that fixed my issue. Now i am able to run the dependabot on nuget packages. Thank you so much for the help. |
Describe the bug
When we run the dependabot on a project which downloads the packages from nuget, its getting failed. Although its working fine with NPM package.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Extension (please complete the following information):
The text was updated successfully, but these errors were encountered: