[DOCS] Specify actual permissions needed by GitHub token #1006
Labels
docs-request 📚
Contains a new documentation improvement request
released 📦
Added when a Github/npm release was made
Is your documentation request related to a problem? Please describe.
The token doc page says "make sure to give the proper permissions to your GitHub token", but doesn't specify which permissions these are. By my experimentation
pull-request: write
is not enough to make this action close or convert stale PRs to drafts.Describe the solution you'd like
In order to supply the action with a Principle of Least Privilege token, it would be very helpful to know what permissions are expected, and why.
The text was updated successfully, but these errors were encountered: