fix: update NuGet registry URL to org-scoped format#43571
fix: update NuGet registry URL to org-scoped format#43571Sharra-writes merged 3 commits intogithub:mainfrom
Conversation
The base URL https://nuget.pkg.github.com/ returns HTTP 405 errors when Dependabot tries to resolve packages. The correct format is the org-scoped URL with the index.json endpoint. Fixes github#43529
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
There was a problem hiding this comment.
Pull request overview
Updates the NuGet feed URL example in the private registries configuration docs to use the org-/owner-scoped NuGet v3 index endpoint, aligning the documentation with the URL format Dependabot can successfully resolve.
Changes:
- Replaces the NuGet registry example URL from the base host to an owner-scoped
/OWNER/index.jsonURL.
...figure-organization-security/manage-usage-and-access/giving-org-access-private-registries.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@loekensgard Looks good! Thanks for the fix. |
|
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Why:
Closes: #43529
The documentation example uses
https://nuget.pkg.github.com/as the NuGet feed URL, but this base URL causes HTTP 405 errors when Dependabot tries to resolve packages, resulting in silently skipped updates. The org-scoped formathttps://nuget.pkg.github.com/OWNER/index.jsonis the correct URL.What's being changed:
Updated the example NuGet feed URL in the "Defining registry access for Code Scanning default setup" section from https://nuget.pkg.github.com/ to https://nuget.pkg.github.com/OWNER/index.json.
Used OWNER to match the placeholder convention elsewhere in the NuGet registry docs, but happy to change to ORGANIZATION if that reads more clearly here.
Check off the following: