bug?? "installation not allowed to Write organization package" ?? #78090
Replies: 4 comments 2 replies
-
related to https://github.com/orgs/community/discussions/24636 ?? |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I'm having the same issue... I've spent a whole day on this and can't figure out what's wrong. I'm also starting to think it's a bug. I've tried granting more permissions than necessary to the GitHub App... I've tried generating the access token myself instead of using the actions/create-github-app-token@v1 action, I've made sure the GitHub App has access to all repositories, I've made sure the repository has write (also tried admin) access for Actions to the package. I've also tried switching the package between private and internal, and even public... It's starting to seem like installations are simply never allowed to write to organization packages (?) Has anyone managed to get this working? |
Beta Was this translation helpful? Give feedback.
-
hi @garyy7811 @DoisKoh, go to "Workflow permissions" in https://github.com/YOUR_USERNAME/YOUR_REPO/settings/actions and select "Read and write permissions". this worked for me. Hope this work for you too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
I'm using a github app generated token to publish a npm package to github organization pacakge, encounter error:
private key generates jwt and generate installation token:
token is from post(
${GITHUB_API_BASE_URL}/app/installations/${get_odmd_ghApp_installationID()}/access_tokens
...all permissions added to github app.
this is more likely a bug ...
Beta Was this translation helpful? Give feedback.
All reactions