Disable always-authenticate when running under Dependabot (#16773)

Dependabot appears to run a proxy which intercepts all requests and adds
credentials — credentials are _not_ provided via the CLI or environment
variables and there's no way for a user to do so. This means that when
`authenticate = "always"` is used (or when the index URL is on a pyx
domain), uv will fail even though Dependabot may intercept the request
and add credentials.

See
https://github.com/dependabot/dependabot-core/#private-registry-credential-management
This commit is contained in:
Zanie Blue
2025-11-18 15:43:44 -06:00
committed by GitHub
parent 0e88114882
commit 3ac43e8d15
3 changed files with 19 additions and 5 deletions
+5
View File
@@ -791,6 +791,11 @@ Used to determine the name of the active Conda environment.
Used to detect the path of an active Conda environment.
### `DEPENDABOT`
<small class="added-in">added in `next release`</small>
Used to determine if we're running in Dependabot.
### `FISH_VERSION`
<small class="added-in">added in `0.1.28`</small>