Skip to content

Commit 4250a7b

Browse files
heiskrCopilot
andauthored
Update redirected internal links in packages (#62116)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a5290f8 commit 4250a7b

12 files changed

Lines changed: 30 additions & 30 deletions

content/packages/learn-github-packages/about-permissions-for-github-packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ When you create a {% data variables.product.prodname_actions %} workflow, you ca
8484
For more information, see:{% ifversion fpt or ghec %}
8585
* [AUTOTITLE](/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility){% endif %}
8686
* [AUTOTITLE](/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions)
87-
* [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
87+
* [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)
8888
* [AUTOTITLE](/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes)
8989

9090
## About repository transfers
@@ -109,7 +109,7 @@ For more conceptual background on {% data variables.product.prodname_actions %}
109109
* To publish, install, delete, and restore packages associated with the workflow repository, use `GITHUB_TOKEN`.
110110
* To install packages associated with other private repositories that `GITHUB_TOKEN` can't access, use a {% data variables.product.pat_v1 %}
111111

112-
For more information about `GITHUB_TOKEN` used in {% data variables.product.prodname_actions %} workflows, see [AUTOTITLE](/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow).
112+
For more information about `GITHUB_TOKEN` used in {% data variables.product.prodname_actions %} workflows, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token#using-the-github_token-in-a-workflow).
113113

114114
{% ifversion fpt or ghec %}
115115

content/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Granting a repository access here also allows {% data variables.product.prodname
124124

125125
> [!NOTE]
126126
> * Syncing your package with a repository {% data variables.package_registry.package-settings-actions-access-menu %} is different than connecting your package to a repository. For more information about linking a repository to your package, see [AUTOTITLE](/packages/learn-github-packages/connecting-a-repository-to-a-package).
127-
> * You can choose to limit permissions to workflow jobs usings the `permissions` key and `packages` scope. For more information, see [AUTOTITLE](/actions/using-jobs/assigning-permissions-to-jobs).
127+
> * You can choose to limit permissions to workflow jobs using the `permissions` key and `packages` scope. For more information, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token#modifying-the-permissions-for-the-githubtoken).
128128
> * {% data reusables.package_registry.public-forks-private-packages %}
129129
130130
### {% data variables.product.prodname_actions %} access for packages scoped to personal accounts

content/packages/learn-github-packages/introduction-to-github-packages.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You can view a package's README, as well as metadata such as licensing, download
3333

3434
{% ifversion ghes %}
3535

36-
For more information about the configuration of {% data variables.product.prodname_registry %} on {% data variables.product.prodname_ghe_server %}, see [AUTOTITLE](/admin/packages/getting-started-with-github-packages-for-your-enterprise).
36+
For more information about the configuration of {% data variables.product.prodname_registry %} on {% data variables.product.prodname_ghe_server %}, see [AUTOTITLE](/admin/configuring-packages/getting-started-with-github-packages-for-your-enterprise).
3737

3838
{% endif %}
3939

@@ -72,7 +72,7 @@ For more information, see [AUTOTITLE](/code-security/concepts/supply-chain-secur
7272

7373
{% data reusables.billing.default-over-quota-behavior %}
7474

75-
For more information, see [AUTOTITLE](/billing/managing-billing-for-github-packages/about-billing-for-github-packages).
75+
For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-packages).
7676

7777
{% endif %}
7878

@@ -95,7 +95,7 @@ For more information, see [AUTOTITLE](/billing/managing-billing-for-github-packa
9595
{% ifversion ghes %}
9696

9797
> [!NOTE]
98-
> When enabling the Docker registry, we highly recommend also enabling subdomain isolation. For more information, see [AUTOTITLE](/admin/configuration/configuring-network-settings/enabling-subdomain-isolation).
98+
> When enabling the Docker registry, we highly recommend also enabling subdomain isolation. For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/enabling-subdomain-isolation).
9999
100100
{% endif %}
101101

@@ -126,7 +126,7 @@ When you use the GraphQL API to query and delete private packages, you must use
126126

127127
For more information, see {% ifversion ghes %}[AUTOTITLE](/packages/learn-github-packages/deleting-and-restoring-a-package) and {% endif %}[AUTOTITLE](/graphql/guides/forming-calls-with-graphql).
128128

129-
You can configure webhooks to subscribe to package-related events, such as when a package is published or updated. For more information, see the [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#package).
129+
You can configure webhooks to subscribe to package-related events, such as when a package is published or updated. For more information, see the [AUTOTITLE](/webhooks/webhook-events-and-payloads#package).
130130

131131
## Contacting support
132132

content/packages/learn-github-packages/publishing-a-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can help people understand and use your package by providing a description a
2323
{% data reusables.package_registry.public-or-private-packages %} A repository can be connected to more than one package. To prevent confusion, make sure the README and description clearly provide information about each package.
2424

2525
{% ifversion fpt or ghec %}
26-
If a new version of a package fixes a security vulnerability, you should publish a security advisory in your repository. {% data variables.product.prodname_dotcom %} reviews each published security advisory and may use it to send {% data variables.product.prodname_dependabot_alerts %} to affected repositories. For more information, see [AUTOTITLE](/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories).
26+
If a new version of a package fixes a security vulnerability, you should publish a security advisory in your repository. {% data variables.product.prodname_dotcom %} reviews each published security advisory and may use it to send {% data variables.product.prodname_dependabot_alerts %} to affected repositories. For more information, see [AUTOTITLE](/code-security/concepts/vulnerability-reporting-and-management/repository-security-advisories).
2727
{% endif %}
2828

2929
## Publishing a package

content/packages/managing-github-packages-using-github-actions-workflows/example-workflows-for-publishing-a-package.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ category:
1414

1515
You can find example workflows in [AUTOTITLE](/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions) or in any of these {% data variables.product.prodname_actions %} guides:
1616

17-
* [Publishing Node.js packages](/actions/publishing-packages/publishing-nodejs-packages)
18-
* [Publishing Docker images](/actions/publishing-packages/publishing-docker-images)
19-
* [Publishing Java packages with Maven](/actions/publishing-packages/publishing-java-packages-with-maven)
20-
* [Publishing Java packages with Gradle](/actions/publishing-packages/publishing-java-packages-with-gradle)
17+
* [Publishing Node.js packages](/actions/tutorials/publish-packages/publish-nodejs-packages)
18+
* [Publishing Docker images](/actions/tutorials/publish-packages/publish-docker-images)
19+
* [Publishing Java packages with Maven](/actions/tutorials/publish-packages/publish-java-packages-with-maven)
20+
* [Publishing Java packages with Gradle](/actions/tutorials/publish-packages/publish-java-packages-with-gradle)

content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ category:
2222

2323
## About {% data variables.product.prodname_registry %} with {% data variables.product.prodname_actions %}
2424

25-
{% data reusables.repositories.about-github-actions %} {% data reusables.repositories.actions-ci-cd %} For more information, see [AUTOTITLE](/actions/learn-github-actions).
25+
{% data reusables.repositories.about-github-actions %} {% data reusables.repositories.actions-ci-cd %} For more information, see [AUTOTITLE](/actions/how-tos/write-workflows).
2626

2727
You can extend the CI and CD capabilities of your repository by publishing or installing packages as part of your workflow.
2828

@@ -36,21 +36,21 @@ Some {% data variables.product.prodname_registry %} registries support granular
3636

3737
Some {% data variables.product.prodname_registry %} registries only support repository-scoped permissions, and do not support granular permissions. For a list of these registries, see [AUTOTITLE](/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).
3838

39-
If you want your workflow to access a {% data variables.product.prodname_registry %} registry that does not support granular permissions, then we recommend using the `GITHUB_TOKEN` that {% data variables.product.github %} automatically creates for your repository when you enable {% data variables.product.prodname_actions %}. You should set the permissions for this access token in the workflow file to grant read access for the `contents` scope and write access for the `packages` scope. For forks, the `GITHUB_TOKEN` is granted read access for the parent repository. For more information, see [AUTOTITLE](/actions/security-guides/automatic-token-authentication).
39+
If you want your workflow to access a {% data variables.product.prodname_registry %} registry that does not support granular permissions, then we recommend using the `GITHUB_TOKEN` that {% data variables.product.github %} automatically creates for your repository when you enable {% data variables.product.prodname_actions %}. You should set the permissions for this access token in the workflow file to grant read access for the `contents` scope and write access for the `packages` scope. For forks, the `GITHUB_TOKEN` is granted read access for the parent repository. For more information, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token).
4040

41-
You can reference the `GITHUB_TOKEN` in your workflow file using the {% raw %}`${{ secrets.GITHUB_TOKEN }}`{% endraw %} context. For more information, see [AUTOTITLE](/actions/security-guides/automatic-token-authentication).
41+
You can reference the `GITHUB_TOKEN` in your workflow file using the {% raw %}`${{ secrets.GITHUB_TOKEN }}`{% endraw %} context. For more information, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token).
4242

4343
## About permissions and package access
4444

4545
### Packages scoped to users or organizations
4646

4747
Registries that support granular permissions allow users to create and administer packages as free-standing resources at the organization level. Packages can be scoped to an organization or personal account and you can customize access to each of your packages separately from repository permissions.
4848

49-
All workflows accessing registries that support granular permissions should use the `GITHUB_TOKEN` instead of a {% data variables.product.pat_generic %}. For more information about security best practices, see [AUTOTITLE](/actions/security-guides/security-hardening-for-github-actions#using-secrets).
49+
All workflows accessing registries that support granular permissions should use the `GITHUB_TOKEN` instead of a {% data variables.product.pat_generic %}. For more information about security best practices, see [AUTOTITLE](/actions/reference/security/secure-use#use-secrets-for-sensitive-information).
5050

5151
### Packages scoped to repositories
5252

53-
When you enable GitHub Actions, GitHub installs a GitHub App on your repository. The `GITHUB_TOKEN` secret is a GitHub App installation access token. You can use the installation access token to authenticate on behalf of the GitHub App installed on your repository. The token's permissions are limited to the repository that contains your workflow. For more information, see [AUTOTITLE](/actions/security-guides/automatic-token-authentication#about-the-github_token-secret).
53+
When you enable GitHub Actions, GitHub installs a GitHub App on your repository. The `GITHUB_TOKEN` secret is a GitHub App installation access token. You can use the installation access token to authenticate on behalf of the GitHub App installed on your repository. The token's permissions are limited to the repository that contains your workflow. For more information, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token#about-the-github_token-secret).
5454

5555
{% data variables.product.prodname_registry %} allows you to push and pull packages through the `GITHUB_TOKEN` available to a {% data variables.product.prodname_actions %} workflow.
5656

@@ -78,7 +78,7 @@ You can use {% data variables.product.prodname_actions %} to automatically publi
7878

7979
{% data reusables.package_registry.actions-configuration %}
8080

81-
The following example demonstrates how you can use {% data variables.product.prodname_actions %} to build {% ifversion not fpt or ghec %}and test{% endif %} your app, and then automatically create a Docker image and publish it to {% data variables.product.prodname_registry %}. The relevant settings are explained in the code. For full details about each element in a workflow, see [AUTOTITLE](/actions/using-workflows/workflow-syntax-for-github-actions).
81+
The following example demonstrates how you can use {% data variables.product.prodname_actions %} to build {% ifversion not fpt or ghec %}and test{% endif %} your app, and then automatically create a Docker image and publish it to {% data variables.product.prodname_registry %}. The relevant settings are explained in the code. For full details about each element in a workflow, see [AUTOTITLE](/actions/reference/workflows-and-actions/workflow-syntax).
8282

8383
Create a new workflow file in your repository (such as `.github/workflows/deploy-image.yml`), and add the following YAML.
8484

@@ -180,17 +180,17 @@ A few minutes after the workflow has completed, the new package will be visible
180180

181181
You can install packages as part of your CI flow using {% data variables.product.prodname_actions %}. For example, you could configure a workflow so that anytime a developer pushes code to a pull request, the workflow resolves dependencies by downloading and installing packages hosted by {% data variables.product.prodname_registry %}. Then, the workflow can run CI tests that require the dependencies.
182182

183-
Installing packages hosted by {% data variables.product.prodname_registry %} through {% data variables.product.prodname_actions %} requires minimal configuration or additional authentication when you use the `GITHUB_TOKEN`.{% ifversion fpt or ghec %} Data transfer is also free when an action installs a package. For more information, see [AUTOTITLE](/billing/managing-billing-for-github-packages/about-billing-for-github-packages).{% endif %}
183+
Installing packages hosted by {% data variables.product.prodname_registry %} through {% data variables.product.prodname_actions %} requires minimal configuration or additional authentication when you use the `GITHUB_TOKEN`.{% ifversion fpt or ghec %} Data transfer is also free when an action installs a package. For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-packages).{% endif %}
184184

185185
{% data reusables.package_registry.actions-configuration %}
186186

187187
## Upgrading a workflow that accesses a registry using a {% data variables.product.pat_generic %}
188188

189189
{% data variables.product.prodname_registry %} supports the `GITHUB_TOKEN` for easy and secure authentication in your workflows. If you're using a registry that supports granular permissions, and your workflow is using a {% data variables.product.pat_generic %} to authenticate to the registry, then we highly recommend you update your workflow to use the `GITHUB_TOKEN`.
190190

191-
For more information about the `GITHUB_TOKEN`, see [AUTOTITLE](/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow).
191+
For more information about the `GITHUB_TOKEN`, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token#using-the-github_token-in-a-workflow).
192192

193-
Using the `GITHUB_TOKEN`, instead of a {% data variables.product.pat_v1 %} with the `repo` scope, increases the security of your repository as you don't need to use a long-lived {% data variables.product.pat_generic %} that offers unnecessary access to the repository where your workflow is run. For more information about security best practices, see [AUTOTITLE](/actions/security-guides/security-hardening-for-github-actions#using-secrets).
193+
Using the `GITHUB_TOKEN`, instead of a {% data variables.product.pat_v1 %} with the `repo` scope, increases the security of your repository as you don't need to use a long-lived {% data variables.product.pat_generic %} that offers unnecessary access to the repository where your workflow is run. For more information about security best practices, see [AUTOTITLE](/actions/reference/security/secure-use#use-secrets-for-sensitive-information).
194194

195195
1. Navigate to your package landing page.
196196
{% data reusables.package_registry.package-settings-actions-access %}

content/packages/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you use a {% data variables.enterprise.prodname_managed_user %}, you cannot p
125125

126126
1. The workflow that you created will run whenever a new release is created in your repository. If the tests pass, then the package will be published to {% data variables.product.prodname_registry %}.
127127

128-
To test this out, navigate to the **Code** tab in your repository and create a new release. For more information, see [Managing releases in a repository](/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release).
128+
To test this out, navigate to the **Code** tab in your repository and create a new release. For more information, see [Managing releases in a repository](/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release).
129129

130130
## Viewing your published package
131131

@@ -146,5 +146,5 @@ The basic workflow you just added runs any time a new release is created in your
146146
Combining {% data variables.product.prodname_registry %} and {% data variables.product.prodname_actions %} can help you automate nearly every aspect of your application development processes. Ready to get started? Here are some helpful resources for taking your next steps with {% data variables.product.prodname_registry %} and {% data variables.product.prodname_actions %}:
147147

148148
* [AUTOTITLE](/packages/learn-github-packages) for an in-depth tutorial on GitHub Packages
149-
* [AUTOTITLE](/actions/learn-github-actions) for an in-depth tutorial on GitHub Actions
149+
* [AUTOTITLE](/actions/how-tos/write-workflows) for an in-depth tutorial on GitHub Actions
150150
* [AUTOTITLE](/packages/working-with-a-github-packages-registry) for specific uses cases and examples

content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ category:
2828
{% ifversion ghes %}
2929

3030
> [!NOTE]
31-
> {% data reusables.package_registry.container-registry-ghes-migration-availability %} For more information about finding the version of {% data variables.product.prodname_ghe_server %} that you use, see [AUTOTITLE](/get-started/learning-about-github/about-versions-of-github-docs#github-enterprise-server).
31+
> {% data reusables.package_registry.container-registry-ghes-migration-availability %} For more information about finding the version of {% data variables.product.prodname_ghe_server %} that you use, see [AUTOTITLE](/get-started/using-github-docs/about-versions-of-github-docs#github-enterprise-server).
3232
3333
{% endif %}
3434

@@ -45,12 +45,12 @@ After migration, you'll no longer be able to use the GraphQL API to query for pa
4545

4646
## About billing for {% data variables.product.prodname_container_registry %}
4747

48-
For more information about billing for the {% data variables.product.prodname_container_registry %}, see [AUTOTITLE](/billing/managing-billing-for-github-packages/about-billing-for-github-packages).
48+
For more information about billing for the {% data variables.product.prodname_container_registry %}, see [AUTOTITLE](/billing/concepts/product-billing/github-packages).
4949

5050
{% else %}
5151

5252
## Further reading
5353

54-
* [AUTOTITLE](/admin/packages/migrating-your-enterprise-to-the-container-registry-from-the-docker-registry)
54+
* [AUTOTITLE](/admin/configuring-packages/migrating-your-enterprise-to-the-container-registry-from-the-docker-registry)
5555

5656
{% endif %}

0 commit comments

Comments
 (0)