Skip to content

What is the minimum required permissions for GitHub App #74

Answered by evankanderson
dmfrey asked this question in Q&A
Discussion options

You must be logged in to vote

You need "Repository Metadata: read" permission on your app, as well as whatever other permissions the app needs. If you don't have that read permission, you will get the following error:

Failed to create token for "community" (attempt 4): Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
RequestError [HttpError]: Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
    at fetchWrapper (/home/runner/work/_actions/actions/create-github-app-token/v1/dist/main.cjs:37109:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async hook4 (/home/ru…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jackivanov
Comment options

@gr2m
Comment options

gr2m Feb 11, 2025
Maintainer

Answer selected by gr2m
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #73 on November 03, 2023 16:21.