mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-26 08:54:13 +08:00
docs: list specific available additional permissions
This commit is contained in:
@@ -174,8 +174,11 @@ jobs:
|
|||||||
|
|
||||||
- The GitHub token must have the corresponding 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
|
- If the permission is missing, Claude will warn you and suggest adding it
|
||||||
- Any GitHub App permission can be requested (e.g. `actions: read`, `workflows: write`, `deployments: read`)
|
- The following additional permissions can be requested beyond the defaults:
|
||||||
- The GitHub App installation must have the requested permission enabled for it to take effect
|
- `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
|
- Standard permissions (`contents: write`, `pull_requests: write`, `issues: write`) are always included and do not need to be specified
|
||||||
|
|
||||||
## Custom Environment Variables
|
## Custom Environment Variables
|
||||||
|
|||||||
Reference in New Issue
Block a user