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? |
Replies: 59 comments 65 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 |
|
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? |
|
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. |
|
Github Support confirmed that it is still not possible to authenticate with a GitHub App token on the GitHub Package Registry: |
|
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. |
|
Also having this issue, would love a resolution - anything in the pipeline to fix this?? |
|
this is an example of usage: https://github.com/orgs/community/discussions/78090 need permissions to access org packages. |
|
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. |
|
Same problem here, spoke with enterprise support today and seems odd that one should use a personal access token instead of an app. Suggestion for support was that this is till the only option available with the added burden that a PAT can only be usable with a seat and you pay for a seat! Plus: for GitHub Apps, the rate limit is 15,000 requests per hour. However, if you're using a PAT, the rate limit is 5,000 requests per hour. I would love to see Github to action a resolution for such a significant limitation in its roadmap. |
|
Hi, same problems here. Generated tokens from Github App can't pull from $ gh token generate --key private-key.pem --app-id <redacted>
{
"token": "ghs_<redacted>",
"expires_at": "2024-06-11T15:50:57Z",
"permissions": {
"actions": "write",
"contents": "write",
"metadata": "read",
"packages": "write",
"workflows": "write"
}
}In the logs we can see that. docker: Error response from daemon: denied.But it might be due to the |
|
Who is really using GitHub packages ? With the lack of correct permission management, it's just not acceptable to use in any enterprise with a minimum security level required by the business/clients. It's just for public packages for now. |
|
I think this is on purpose, to keep people using Github workflow to build
Github repo.
…On Mon, Jul 1, 2024 at 10:15 AM Ben ***@***.***> wrote:
This discussion demonstrates you can't automate much atop github package
registry, as it remains manual.
For internal tooling, many might want to have it all managed at the same
place
—
Reply to this email directly, view it on GitHub
<#24636 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHMU2QFLYOOGGBG2IZRMQN3ZKFQBVAVCNFSM6AAAAAAZDU3KDOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMRWGE4TS>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
+1 Really silly that my GitHub app can do everything it needs to using its own access token, except read packages! |
|
Saw this Could it be that this is now "half way" implemented?
|
|
What are the current options for organizations with multiple private repository packages:
|
|
We're trying to replace PATs with a GitHub App for pulling private NuGet packages. The App has packages:read, contents:read, access to all repos, packages set to internal visibility. So the token is valid enough to see the registry exists, but not valid enough to actually download anything from it. What's the point? We've spent hours debugging permissions, visibility settings, and repo access - only to conclude that GitHub App installation tokens simply don't work for downloading packages, despite having all the "correct" permissions. The only solution is going back to long-lived PATs distributed to every developer. In 2026. When GitHub themselves recommend using Apps over PATs for security. |
|
Agreed. We are beginning to look at other offerings. Looks like Microsoft
did the classic thing of buying a product only to ruin it.
…On Fri, Jan 30, 2026 at 5:13 AM Torsten Curdt ***@***.***> wrote:
Yeah, it seems like Github is in open-ended hiatus. It has become a
liability for us. This issue/discussion nears it's 6th birthday.
The auth and workflows stories have become so painful that we are looking
for a plan B.
Github feels like it's a dead end.
—
Reply to this email directly, view it on GitHub
<#24636 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXRCU4ABBW7VVGABEHS4G34JNKHTAVCNFSM6AAAAAAZDU3KDOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKNRVGEYDGMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
|
So I need to share my personal access to all my coworkers ? |
|
Wish I had found this thread sooner! Limiting exposure of PAT tokens and being able to use github app refresh tokens on remote compute that need to pull packages would be great. I have to pull packages on edge k3s environments that do not source from protected networks. Maybe I should switch to googles container registry. |
|
Just adding my voice that at minimum, make the option disabled with a note in the app settings if it's not going to work. It would save cumulative hours of wasted time chasing ghosts. (Confirm the problem still exists as of todays date) |
|
How is this still a discussion after 6 years? |
|
Thanks for the opportunity to explain to the Security team why integrating two GitHub services still requires introducing an actual user, rather than being natively supported. |
This comment was marked as low quality.
This comment was marked as low quality.
|
Any updates on this? I just wasted hours why it is keep occuring error even though I granted packages permission for it, just like others in this discussion. |
|
Another casualty of this issue today — I just wasted several hours because GitHub exposes a The Please either remove the option from App permissions (so users stop wasting time enabling something that does nothing), or actually make it work the way the UI implies. How are we supposed to harden our auth story by moving to GitHub Apps when the most basic CD use case — pulling a private container image on a server — is the one place Apps don't apply? I'm keeping a long-lived classic PAT just to pull images, sitting next to a beautifully short-lived App token used for This has been open for years. Please ship it. |
|
same drama as https://github.com/orgs/community/discussions/38467 embarrassing in 2026... But instead we maybe will get some more cool AI-features.... |
|
Same frustration same drama - well this is looking like a business decision not a technical incompetence or is it? |
|
Amazing! So I have to pay for another seat in our organization and manage a bot account just because you can't manage to implement machine authentication for container image pulls of all things? |
|
"6 years" and now you have coding agent since 1 year, no excuse Github. Just do your job finally. |
|
how is this STILL not supported |


👋 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 Permissionsfor 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:packagesscope.GITHUB_TOKENthat GitHub automatically creates for your repository…