TIL

GHA の permissions key で GITHUB_TOKEN に権限を与えられる

GitHub

GITHUB_TOKEN でできる権限は permissions で付与しないといけない。

Use the permissions key in your workflow file to modify permissions for the GITHUB_TOKEN for an entire workflow or for individual jobs.

https://docs.github.com/en/actions/tutorials/authenticate-with-github_token

← Back