From 5263933016046819a9010228c05cd59af1184be5 Mon Sep 17 00:00:00 2001 From: mc <42146119+mchammer01@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:02:59 +0000 Subject: [PATCH] Clarify the correct syntax for `registries: "*"` (#48917) Co-authored-by: AbdulFattaah Popoola Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Fernando Ruiz Diaz <88462636+ferdlestier@users.noreply.github.com> --- .../dependabot/dependabot-updates-registries.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/data/reusables/dependabot/dependabot-updates-registries.md b/data/reusables/dependabot/dependabot-updates-registries.md index 325db3df58..cc6e4a16dc 100644 --- a/data/reusables/dependabot/dependabot-updates-registries.md +++ b/data/reusables/dependabot/dependabot-updates-registries.md @@ -1 +1,12 @@ - You can allow all of the defined registries to be used by setting `registries` to `"*"`. Alternatively, you can list the registries that the update can use. To do this, use the name of the registry as defined in the top-level `registries` section of the `dependabot.yml` file. +You can allow all of the defined registries to be used by setting `registries` to `"*"`. + +```yaml +# Allow {% data variables.product.prodname_dependabot %} to use all the defined registries + +{% raw %} +version: 2 +registries: "*" +{% endraw %} +``` + +Alternatively, you can list the registries that the update can use. To do this, use the name of the registry as defined in the top-level `registries` section of the `dependabot.yml` file.