Skip to content

Permissions

The Drape GitHub Action requires these permissions:

permissions:
  contents: read
  pull-requests: write
  id-token: write
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.