Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: configure permissions for the pr-checklist workflow (semgrep#8785)
The PR checklist workflow seems to fail when dependabot creates a PR. According to dependabot's documentation (https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions), dependabot defaults to read-only permissions, so I'm configuring the workflow config to also add write permissions. I'm not sure how to test this except wait until next week when dependabot is triggered again, but I think this is low risk and it seems to be what others have tried (marocchino/sticky-pull-request-comment#930) and succeeded.
- Loading branch information