It is possible to publish to "GitHub packages" using "GitHub Apps" generated token? #28039
Unanswered
heinzenberg
asked this question in
Actions
Replies: 1 comment
-
No. There's no API endpoints for publishing packages, so you have to use the language-specific registries, and they only accept a PAT (or a Even if there were API endpoints for publishing, GitHub Packages doesn't make any part of its API available to GitHub Apps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages
It is possible to publish packages in GitHub packages using generated token from GitbHub Apps instead of PAT!?
Please remember:
In order to generate token using GitHub Apps the process is:
https://docs.github.com/en/enterprise-cloud@latest/developers/apps/building-github-apps/authenticating-with-github-apps#http-based-git-access-by-an-installation
$ curl -i
-H "Authorization: token YOUR_INSTALLATION_ACCESS_TOKEN"
-H "Accept: application/vnd.github+json"
https://api.github.com/installation/repositories
Beta Was this translation helpful? Give feedback.
All reactions