cloudflare / pages-action

MIT License
440 stars 91 forks source link

Document permissions required for Github Access Token #102

Closed richardscarrott closed 9 months ago

richardscarrott commented 9 months ago

It's not clear what permissions this token requires. Perhaps the README could include instructions on a) how to create the token and b) what permissions are required?

# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
richardscarrott commented 9 months ago

Ok, I just discovered it's an automatically generated secret https://docs.github.com/en/actions/security-guides/automatic-token-authentication 🙌

Might be worth mentioning that in the docs, but probably more my lack of experience with actions.