Skip to content

Commit

Permalink
Clarifying that GITHUB_TOKEN can be used to install packages from oth…
Browse files Browse the repository at this point in the history
…er private repositories (#36017)

Co-authored-by: Alex Nguyen <[email protected]>
  • Loading branch information
jlawrence and nguyenalex836 authored Jan 21, 2025
1 parent 3bc26c4 commit d5d7a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/reusables/package_registry/authenticate-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).

0 comments on commit d5d7a54

Please sign in to comment.