Skip to content

Commit 5ef0eae

Browse files
committed
chore(ci): Try to fix code reviewer
1 parent e3a2afa commit 5ef0eae

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Claude Code Review
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, synchronize, ready_for_review, reopened]
66
workflow_dispatch:
77
inputs:
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 1
2727

@@ -33,7 +33,5 @@ jobs:
3333
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
3434
plugins: 'code-review@claude-code-plugins'
3535
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number || inputs.pr_number }} --comment'
36-
claude_args: |
37-
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"
3836
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
3937
# or https://code.claude.com/docs/en/cli-reference for available options

0 commit comments

Comments
 (0)