Read GitHub Packages permission for GitHub App? #24636
-
Hello, I’m looking at the list of permissions that an App can be granted and I can’t see one which would allow my app to fetch packages from a repo. Is there a permission I can grant my app to fetch packages from repos/orgs it’s installed into? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 3 replies
-
👋 Hello, @dgholz ! Welcome to the GitHub Community Forum––we’re glad to see you post this question here. 👍 Permissions on “packages” is not currently available for all1 GitHub Apps (see We’re always working to improve GitHub and the GitHub Support Community, and we consider every suggestion we receive. Would you mind submitting this through our official product feedback form so that our product team can track your request? It may be worth noting that you can use either of these tokens to authenticate with GitHub Packages:
We hope this helps! 1 At this time of writing, the |
Beta Was this translation helpful? Give feedback.
-
Thanks, that’s helpful. I used an Action and its token to fetch packages from my org, but I see today that it’s failing to see private packages (published on other repos in our org). Last week it was working fine, was the scope of the token’s access to GitHub Packages changed recently? |
Beta Was this translation helpful? Give feedback.
-
Would love to actually see GitHub Applications have permissions to Read/Write to packages. We are currently trying to leverage the Additionally in the workflow we did set the package permission to write and it was still unable to download the package. |
Beta Was this translation helpful? Give feedback.
-
Github Support confirmed that it is still not possible to authenticate with a GitHub App token on the GitHub Package Registry:
|
Beta Was this translation helpful? Give feedback.
-
We are having this issue as well. We want to use a git hub app generated token to download packages from our private repositories and it is not working. |
Beta Was this translation helpful? Give feedback.
-
Also having this issue, would love a resolution - anything in the pipeline to fix this?? |
Beta Was this translation helpful? Give feedback.
-
this is an example of usage: https://github.com/orgs/community/discussions/78090 need permissions to access org packages. |
Beta Was this translation helpful? Give feedback.
-
This is also presenting a problem for me as well. It seems odd that the app token can be used to pull down release binaries but can't pull down packages. |
Beta Was this translation helpful? Give feedback.
👋 Hello, @dgholz ! Welcome to the GitHub Community Forum––we’re glad to see you post this question here. 👍
Permissions on “packages” is not currently available for all1 GitHub Apps (see
GitHub Apps Permissions
for more details).We’re always working to improve GitHub and the GitHub Support Community, and we consider every suggestion we receive. Would you mind submitting this through our official product feedback form so that our product team can track your request?
It may be worth noting that you can use either of these tokens to authenticate with GitHub Packages:
read:packages
scope.GITHUB_TOKEN
that GitHub automatically creates for your repository…