diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 2b67d06..0a62f42 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -50,9 +50,5 @@ jobs: # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options - claude_args: | - --model claude-4-0-sonnet-20250805 - --max-turns 50 - --dangerously-skip-permissions - --allowed-tools * + claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 29e2830..b1a3201 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -46,9 +46,5 @@ jobs: # Optional: Add claude_args to customize behavior and configuration # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options - claude_args: | - --model sonnet - --max-turns 50 - --dangerously-skip-permissions - --allowed-tools * + # claude_args: '--model claude-opus-4-1-20250805 --allowed-tools Bash(gh pr:*)'