Permissions for the token #58
-
I would love to incorporate this into my organisations repositories as it ticks all of the boxes. However, what are the permissions that need to be granted for the token and what is the exact process for generating them? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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:
I hope my explanation will help you! |
Beta Was this translation helpful? Give feedback.
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:
I hope my explanation will help you!