Permissions¶
The Drape GitHub Action requires these permissions:
| Permission | Why |
|---|---|
contents: read |
Required for checkout (if not already checked out) |
pull-requests: write |
Required for posting PR comments |
id-token: write |
Lets the action upload with a GitHub OIDC token instead of an API key. See No API key needed, and keep it away from untrusted code |
If you disable PR comments (comment: 'false'), you can drop pull-requests: write. If you pass api-key, you can drop id-token: write.