Revert "Revert "feat: send additional_permissions in token exchange request (…" (#866)

This reverts commit 231bd75b71.
This commit is contained in:
Ashwin Bhat
2026-01-27 14:35:18 -08:00
committed by GitHub
parent fe72061e16
commit 32ac7269f2
3 changed files with 159 additions and 10 deletions

View File

@@ -172,9 +172,14 @@ jobs:
**Important Notes**:
- The GitHub token must have the `actions: read` permission in your workflow
- The GitHub token must have the corresponding permission in your workflow
- If the permission is missing, Claude will warn you and suggest adding it
- Currently, only `actions: read` is supported, but the format allows for future extensions
- The following additional permissions can be requested beyond the defaults:
- `actions: read`
- `checks: read`
- `discussions: read` or `discussions: write`
- `workflows: read` or `workflows: write`
- Standard permissions (`contents: write`, `pull_requests: write`, `issues: write`) are always included and do not need to be specified
## Custom Environment Variables