From 315c0214b12b5ea7efb0fc8774067802268e5146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E9=AB=98?= Date: Thu, 25 Sep 2025 16:22:33 +0800 Subject: [PATCH 1/2] "Update Claude PR Assistant workflow" --- .github/workflows/claude.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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:*)' From ca5391ef4131a5dbad39a037f79badc311c6f90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E9=AB=98?= Date: Thu, 25 Sep 2025 16:22:36 +0800 Subject: [PATCH 2/2] "Update Claude Code Review workflow" --- .github/workflows/claude-code-review.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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:*)"'