From 563baa10a626e6bafb812b240d7a1ee98a4e718e Mon Sep 17 00:00:00 2001 From: Kurt Carpenter Date: Fri, 9 Jan 2026 18:42:19 -0800 Subject: [PATCH 1/4] chore: update claude-code actions from @beta to @v1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - claude-code-action@beta → @v1 - claude-code-base-action@beta → @v1 - direct_prompt → prompt (breaking change) - model comment now uses claude_args format Claude-Generated-By: Claude Code (cli/claude-opus-4-5=100%) Claude-Steers: 1 Claude-Permission-Prompts: 5 Claude-Escapes: 0 --- .github/workflows/claude-code-review.yml | 6 +++--- .github/workflows/claude-issue-triage.yml | 2 +- .github/workflows/claude.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 91f6d80b..48eb50fa 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -29,15 +29,15 @@ jobs: - name: Run Claude Code Review id: claude-review - uses: anthropics/claude-code-action@beta + uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4) - # model: "claude-opus-4-20250514" + # claude_args: --model claude-opus-4-20250514 # Direct prompt for automated review (no @claude mention needed) - direct_prompt: | + prompt: | Please review this pull request and provide feedback on: - Code quality and best practices - Potential bugs or issues diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index 1ad47672..523d25c8 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -95,7 +95,7 @@ jobs: EOF - name: Run Claude Code for Issue Triage - uses: anthropics/claude-code-base-action@beta + uses: anthropics/claude-code-base-action@v1 with: prompt_file: /tmp/claude-prompts/triage-prompt.txt allowed_tools: "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues" diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 453b6d41..1e318bc2 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -41,12 +41,12 @@ jobs: - name: Run Claude Code id: claude - uses: anthropics/claude-code-action@beta + uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - + # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4) - # model: "claude-opus-4-20250514" + # claude_args: --model claude-opus-4-20250514 # Optional: Customize the trigger phrase (default: @claude) # trigger_phrase: "/claude" From b0cc164f13b46ac1a117e2f4edd37c2280798f4e Mon Sep 17 00:00:00 2001 From: Kurt Carpenter Date: Fri, 9 Jan 2026 18:52:38 -0800 Subject: [PATCH 2/4] fix: move allowed_tools, mcp_config to claude_args for v1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - allowed_tools → --allowed-tools in claude_args - mcp_config → --mcp-config in claude_args - timeout_minutes → timeout-minutes (step-level) - claude_env → env block --- .github/workflows/claude-issue-triage.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index 523d25c8..d5bdc4d0 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -96,11 +96,12 @@ jobs: - name: Run Claude Code for Issue Triage uses: anthropics/claude-code-base-action@v1 + timeout-minutes: 5 with: prompt_file: /tmp/claude-prompts/triage-prompt.txt - allowed_tools: "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues" - timeout_minutes: "5" anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - mcp_config: /tmp/mcp-config/mcp-servers.json - claude_env: | - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + claude_args: | + --allowed-tools "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues" + --mcp-config /tmp/mcp-config/mcp-servers.json + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 379a75ec56b5a9e079fbad4c8273ee2bbde41612 Mon Sep 17 00:00:00 2001 From: Kurt Carpenter Date: Fri, 9 Jan 2026 18:54:13 -0800 Subject: [PATCH 3/4] fix: move allowed_tools to claude_args in claude.yml --- .github/workflows/claude.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 1e318bc2..2af0281f 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -55,18 +55,8 @@ jobs: # assignee_trigger: "claude-bot" # Allow Claude to run linters, typecheckers, and tests - allowed_tools: | - Bash(python -m ruff check:*) - Bash(python -m ruff format:*) - Bash(python -m mypy:*) - Bash(python -m pytest:*) - + claude_args: | + --allowed-tools "Bash(python -m ruff check:*),Bash(python -m ruff format:*),Bash(python -m mypy:*),Bash(python -m pytest:*)" + # Optional: Add custom instructions for Claude to customize its behavior for your project - # custom_instructions: | - # Follow our coding standards - # Ensure all new code has tests - # Use TypeScript for new files - - # Optional: Custom environment variables for Claude - # claude_env: | - # NODE_ENV: test \ No newline at end of file + # claude_args: --system-prompt "Follow our coding standards" \ No newline at end of file From 2aaff33625f7815635e616d730c9282d5e9d67b6 Mon Sep 17 00:00:00 2001 From: Kurt Carpenter Date: Fri, 9 Jan 2026 18:55:03 -0800 Subject: [PATCH 4/4] fix: remove invalid v1 options from claude-code-review.yml comments --- .github/workflows/claude-code-review.yml | 25 ++++++------------------ 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 48eb50fa..7d14a7e3 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -48,22 +48,9 @@ jobs: Be constructive and helpful in your feedback. # Optional: Customize review based on file types - # direct_prompt: | - # Review this PR focusing on: - # - For TypeScript files: Type safety and proper interface usage - # - For API endpoints: Security, input validation, and error handling - # - For React components: Performance, accessibility, and reusability - # - For test files: Coverage, edge cases, and test quality - - # Optional: If automated review posts public comments - # no_comments: true - - # Optional: Create a summary comment on the PR - # summary_comment: true - - # Optional: Allow Claude to suggest code changes - # allow_code_suggestions: true - - # Optional: Limit Claude review scope - # max_files_to_review: 10 - # max_lines_per_file: 500 \ No newline at end of file + # prompt: | + # Review this PR focusing on: + # - For TypeScript files: Type safety and proper interface usage + # - For API endpoints: Security, input validation, and error handling + # - For React components: Performance, accessibility, and reusability + # - For test files: Coverage, edge cases, and test quality \ No newline at end of file