Skip to content

Commit ba8efe5

Browse files
authored
[Improvement]: dependabot.yml: nuget-feed doesn't support replaces-base parameter #17836 (#55569)
1 parent 15cd61a commit ba8efe5

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

content/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ The top-level `registries` key is optional and specifies authentication details.
4040

4141
{% data reusables.dependabot.dependabot-updates-registries-options %}
4242

43+
{% data reusables.dependabot.dependabot-replaces-base-nuget %}
44+
4345
For more information about the configuration options that are available and about the supported types, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/dependabot-options-reference#top-level-registries-key).
4446

4547
## Storing credentials for Dependabot to use
@@ -382,6 +384,8 @@ For security reasons, {% data variables.product.prodname_dependabot %} does not
382384

383385
The `nuget-feed` type supports username and password, or token. {% data reusables.dependabot.password-definition %}
384386

387+
`nuget-feed` doesn't support the `replaces-base` parameter.
388+
385389
{% raw %}
386390

387391
```yaml copy

content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,8 @@ updates:
701701

702702
{% data reusables.dependabot.dependabot-updates-registries-options %}
703703

704+
{% data reusables.dependabot.dependabot-replaces-base-nuget %}
705+
704706
{% data reusables.dependabot.advanced-private-registry-config-link %}
705707

706708
### `type` and authentication details
@@ -733,3 +735,5 @@ All sensitive data used for authentication should be stored securely and referen
733735
### `url` and `replaces-base`
734736

735737
The `url` parameter defines where to access a registry. When the optional `replaces-base` parameter is enabled (`true`), {% data variables.product.prodname_dependabot %} resolves dependencies using the value of `url` rather than the base URL of that specific ecosystem.
738+
739+
{% data reusables.dependabot.dependabot-replaces-base-nuget %}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
>[!NOTE]
2+
> `nuget-feed` doesn't support the `replaces-base` parameter.

0 commit comments

Comments
 (0)