-
I’d like to manage a private RubyGems on GitHub Packages. And I’d like to use a personal access token or GitHub Apps’s token(installation access token) to authenticate. I could use a personal access token to authenticate. But i couldn’t use GitHub Apps’s token(installation access token). I explain here how to try.
GitHub Docs explains to use GitHub Packages with a personal access token to authenticate. But I didn’t find about using GitHub Packages with GitHub Apps. Can i use GitHub Packages with GitHub Apps now? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
hamuyuuki:
GitHub Packages doesn’t currently support GitHub App tokens. The only exception is the default GitHub Actions token, which is a special kind of app token. For the moment, you will need to use a PAT for programmatic access. Regards, |
Beta Was this translation helpful? Give feedback.
-
Thank you for answering. I understand 😃 |
Beta Was this translation helpful? Give feedback.
-
It would be great if adding package support to apps was considered as an improvement. At the moment to get packages access to a ruby gem for example you need:
Allowing a GitHub app to create tokens for package access would mean you:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Any updates to this? This (and GitHub Packages support for fine-grained PATs, which I assume is related) is sorely needed functionality. GitHub applications like Renovate are blocked from working seamlessly with GitHub Packages and today require the use of user-associated, classic personal access tokens to fetch package information from GitHub Packages. |
Beta Was this translation helpful? Give feedback.
-
Is PATs still the only option to use GitHub Packages? |
Beta Was this translation helpful? Give feedback.
GitHub Packages doesn’t currently support GitHub App tokens. The only exception is the default GitHub Actions token, which is a special kind of app token. For the moment, you will need to use a PAT for programmatic access.
Regards,
Jamie.