Code of Conduct
What article on docs.github.com is affected?
To my knowledge all "Working With" guides under https://docs.github.com/en/packages/working-with-a-github-packages-registry are affected
What part(s) of the article would you like to see updated?
Instead of specifying the fact that App Installation tokens don't work with some registries, the docs make no mention of them. Thus, an integration developer is left to discover that app installation token with package read permissions cannot read (at least) npm and maven packages from an error response:
npm ERR! code E401
npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/@myorg%2fpkg - This credential type is not supported for registry. Please use a Personal Access Token or GitHub Actions token instead.
Adding a note like the following would be good:
Note: GitHub App Installation Tokens are not currently supported by Maven, NPM, ..., or GHCR registries.
Code of Conduct
What article on docs.github.com is affected?
To my knowledge all "Working With" guides under https://docs.github.com/en/packages/working-with-a-github-packages-registry are affected
What part(s) of the article would you like to see updated?
Instead of specifying the fact that App Installation tokens don't work with some registries, the docs make no mention of them. Thus, an integration developer is left to discover that app installation token with package read permissions cannot read (at least) npm and maven packages from an error response:
Adding a note like the following would be good: