Skip to content

Viewer not authorized to delete even when using GITHUB_TOKEN? #24302

Discussion options

You must be logged in to vote

Ok so reading here Repository permission levels for an organization - GitHub Docs it looks like what is happening is the expected behaviour because Delete an issue actually requires Admin permissions which are not granted to the GITHUB_TOKEN.

So I guess going with the personal access token is the only option for this.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
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