1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Clarifying that GITHUB_TOKEN can be used to install packages from other private repositories (#36017)

Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
Joshua Lawrence
2025-01-21 15:59:14 -05:00
committed by GitHub
parent 3bc26c4e02
commit e81bb753bd

View File

@@ -6,4 +6,4 @@ You can use a {% data variables.product.pat_v1 %} to authenticate to {% data var
To authenticate to a {% data variables.product.prodname_registry %} registry within a {% data variables.product.prodname_actions %} workflow, you can use:
* `GITHUB_TOKEN` to publish packages associated with the workflow repository.
* A {% data variables.product.pat_v1 %} with at least `read:packages` scope to install packages associated with other private repositories (which `GITHUB_TOKEN` can't access).
* A {% data variables.product.pat_v1 %} with at least `read:packages` scope to install packages associated with other private repositories (`GITHUB_TOKEN` can be used if the repository is granted read access to the package. See [AUTOTITLE](/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility)).