Skip to content

Permissions for the token #58

Answered by ArtiomTr
davidvalaz asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Each repository automatically has GITHUB_TOKEN, so in my opinion, it should suit for most of the cases. (here is the docs)

However, if you want to provide custom token, you can find instructions how to create it here. For permissions, you can provide all the default GITHUB_TOKEN permissions (documented here). Of course, this action do not uses all of them, but I have not tested yet which are required.

I think these permissions should be enough, but I'm not sure:

No Permission Access type
1 contents read
2 checks read/write
3 pull requests read/write
4 metadata read

I hope my explanation will help you!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArtiomTr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #19 on June 13, 2021 10:21.