Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript

chore: upgrade claude-code actions from @beta to @v1

Kurt Carpenterb8497141a5db
diff --git a/.github/workflows/claude-dedupe-issues.yml b/.github/workflows/claude-dedupe-issues.yml
index 6b32ac59..e75c2cc0 100644
--- a/.github/workflows/claude-dedupe-issues.yml
+++ b/.github/workflows/claude-dedupe-issues.yml
@@ -24,12 +24,12 @@ jobs:
- name: Run Claude Code slash command
uses: anthropics/claude-code-base-action@v1
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_args: "--model claude-sonnet-4-5-20250929"
- claude_env: |
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Log duplicate comment event to Statsig
if: always()
diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml
index ee58a171..6512f707 100644
--- a/.github/workflows/claude-issue-triage.yml
+++ b/.github/workflows/claude-issue-triage.yml
@@ -95,13 +95,14 @@ jobs:
EOF
- name: Run Claude Code for Issue Triage
+ timeout-minutes: 5
uses: anthropics/claude-code-base-action@v1
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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_args: "--model claude-sonnet-4-5-20250929"
- claude_env: |
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ claude_args: |
+ --model claude-sonnet-4-5-20250929
+ --mcp-config /tmp/mcp-config/mcp-servers.json
+ --allowedTools "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/oncall-triage.yml b/.github/workflows/oncall-triage.yml
index 16456f16..f512eca5 100644
--- a/.github/workflows/oncall-triage.yml
+++ b/.github/workflows/oncall-triage.yml
@@ -109,12 +109,13 @@ jobs:
EOF
- name: Run Claude Code for Oncall Triage
+ timeout-minutes: 10
uses: anthropics/claude-code-base-action@v1
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prompt_file: /tmp/claude-prompts/oncall-triage-prompt.txt
- allowed_tools: "mcp__github__list_issues,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue"
- timeout_minutes: "10"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
- mcp_config: /tmp/mcp-config/mcp-servers.json
- claude_env: |
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ claude_args: |
+ --mcp-config /tmp/mcp-config/mcp-servers.json
+ --allowedTools "mcp__github__list_issues,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue"