Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

why zizmor doesn't just use the token from github actions to perform the fetches in other repositories ?

Can you elaborate? That's exactly what it does by default when you use the GitHub action:

https://docs.zizmor.sh/integrations/#via-zizmorcorezizmor-action

Observe that there are no custom tokens in the setup, only the default runner token (which we intentionally scope down to a limited set of permissions).

Feels insecure to provide a powerfull token without exactly what is being done with it.

Yes, you should not give zizmor a more powerful token than it needs. Those needs are documented here and roughly correspond to read-only access:

https://docs.zizmor.sh/usage/#github-api-token-…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by woodruffw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants