Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add required permissisons to deploy previews (#691)
The actions should only be triggered when a label is set, and only selected users can set labels. As per https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-pull-requests, `contents: write` should be required to push the content to the preview branch, and `pull-requests: write` should be required for writing the comment.
- Loading branch information
8bcd6bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
🔴 Please review
See the 📜action log or 📝 job summary for details.
See ❌ Event descriptions for more information.