diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 0f36455..c900433 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -66,7 +66,7 @@ jobs: run: | gh pr checkout "$PR_NUMBER" BASE=$(gh pr view "$PR_NUMBER" --json baseRefName -q .baseRefName) - git fetch origin "$BASE" --depth=1 + git fetch origin "$BASE" echo "BASE_BRANCH=origin/$BASE" >> "$GITHUB_ENV" - name: Setup Go @@ -194,7 +194,7 @@ jobs: Do not execute /review as a slash command — this prompt IS the review. claude_args: | --max-turns 20 - --allowedTools "Agent,Read,Write,Grep,Glob,Bash(git diff:*),Bash(git log:*),Bash(git show:*),Bash(git blame:*),Bash(git fetch:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr comment:*),Bash(go:*),mcp__github_inline_comment__create_inline_comment" + --allowedTools "Agent,Read,Write,Grep,Glob,Bash(git diff:*),Bash(git log:*),Bash(git show:*),Bash(git blame:*),Bash(git fetch:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr comment:*),Bash(go:*),Bash(python3:*),Bash(find:*),mcp__github_inline_comment__create_inline_comment" - name: Post review summary if: always() && steps.review.outcome != 'skipped'