Open ghost opened 1 year ago
Its a workaround, but works for me. You probably have nuget.config in you DIRECTORY_PATH that points to private repo. If you move nuget.config out from DIRECTORY_PATH, Dependabot will resort to checking package versions from nuget.org instead. It wont pump packages that are only available in you private repo, but it will pump everything available in nuget.org.
@stsenvidan have you been successful with this?
@cmorinupgrade sadly no, I tried the workaround approach mentioned by mettolen, but I kept getting different path related errors that way. So for the time being I've put the whole thing on hold :-/
Is there any solution, can someone share I am facing same issue.
I'm using the docker approach to running dependabot in Azure DevOps. However I have a private feed (Azure DevOps based) and as such dependabot fails:
The following source could not be reached as it requires authentication (and any provided details were invalid or lacked the required permissions): https://pkgs.dev.azure.com/<org>/_packaging/library/nuget/v3/index.json (Dependabot::PrivateSourceAuthenticationFailure)
All the documentation I can find is for running dependabot with a YAML config, however I don't have any YAML config as I'm using docker. Is there any way to make this work via docker, or do I need to rethink my approach completely?
For good measure here's my complete pipeline: