Skip to content

Commit ed51c18

Browse files
ovitrifclaude
andcommitted
fix: allow claude bot to trigger code review workflow
Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent d1ade11 commit ed51c18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ jobs:
5656
uses: anthropics/claude-code-action@v1
5757
with:
5858
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
59-
# use_sticky_comment: "true" # doesn't work
59+
# use_sticky_comment: "true" # doesn't work
6060
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
6161
plugins: 'code-review@claude-code-plugins'
6262
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
63+
# Allow Claude bot to trigger this workflow
64+
allowed_bots: 'claude[bot]'
65+
# Allow Claude to use GH CLI for reading external PR details
66+
claude_args: '--allowed-tools Bash(gh:*)'

0 commit comments

Comments
 (0)