Skip to content

Commit 0ec62b0

Browse files
authored
Add checks/statuses read permissions to Claude workflow (#700)
1 parent 4aa348f commit 0ec62b0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/claude.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
issues: read
2525
id-token: write
2626
actions: read # Required for Claude to read CI results on PRs
27+
checks: read
28+
statuses: read
2729
steps:
2830
- name: Checkout repository
2931
uses: actions/checkout@v4
@@ -34,11 +36,14 @@ jobs:
3436
id: claude
3537
uses: anthropics/claude-code-action@v1
3638
with:
39+
github_token: ${{ github.token }}
3740
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3841

3942
# This is an optional setting that allows Claude to read CI results on PRs
4043
additional_permissions: |
4144
actions: read
45+
checks: read
46+
statuses: read
4247
4348
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
4449
# prompt: 'Update the pull request description to include a summary of changes.'

0 commit comments

Comments
 (0)