From a88b9ca482fe705eb364a162f71ea0b5ea9e79ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 23 Nov 2023 14:45:23 +0100 Subject: [PATCH] Remove org-name from npm.pkg.github.com url (#46571) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- ...nfiguration-of-private-registries-for-dependabot.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md b/content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md index c9e9a2d90604..33fd3fa7b98e 100644 --- a/content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md +++ b/content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md @@ -221,7 +221,7 @@ The snippet of a `dependabot.yml` file below uses a token. {% data reusables.dep registries: npm-github: type: npm-registry - url: https://npm.pkg.github.com/ + url: https://npm.pkg.github.com token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} ``` @@ -234,7 +234,7 @@ Example of the content of a `.npmrc` file: {% raw %} ```text -registry=https:/// +registry=https:// ``` {% endraw %} @@ -266,7 +266,7 @@ This would result in a '.npmrc' with the registry: {% raw %} ```text -@:registry=https:/// +@:registry=https:// ``` {% endraw %} @@ -409,7 +409,7 @@ The Yarn registry uses a configuration similar to that of the npm registry. For registries: yarn-github: type: npm-registry - url: https://npm.pkg.github.com/ + url: https://npm.pkg.github.com token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} ``` @@ -583,7 +583,7 @@ For information about {% data variables.product.prodname_registry %} registries, registries: github: type: npm-registry - url: https://npm.pkg.github.com/ + url: https://npm.pkg.github.com token: ${{ secrets. }} ```