Merge pull request #17238 from anthropics/ci/update-base-action

ci: update claude-code-base-action and claude-code-action to v1
This commit is contained in:
ant-kurt
2026-01-12 11:38:56 -08:00
committed by GitHub
4 changed files with 19 additions and 17 deletions

View File

@@ -23,13 +23,13 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run Claude Code slash command - name: Run Claude Code slash command
uses: anthropics/claude-code-base-action@beta uses: anthropics/claude-code-base-action@v1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}" prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_args: "--model claude-sonnet-4-5-20250929" claude_args: "--model claude-sonnet-4-5-20250929"
claude_env: |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Log duplicate comment event to Statsig - name: Log duplicate comment event to Statsig
if: always() if: always()

View File

@@ -95,13 +95,14 @@ jobs:
EOF EOF
- name: Run Claude Code for Issue Triage - name: Run Claude Code for Issue Triage
uses: anthropics/claude-code-base-action@beta timeout-minutes: 5
uses: anthropics/claude-code-base-action@v1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
prompt_file: /tmp/claude-prompts/triage-prompt.txt 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 }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
mcp_config: /tmp/mcp-config/mcp-servers.json claude_args: |
claude_args: "--model claude-sonnet-4-5-20250929" --model claude-sonnet-4-5-20250929
claude_env: | --mcp-config /tmp/mcp-config/mcp-servers.json
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} --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"

View File

@@ -31,7 +31,7 @@ jobs:
- name: Run Claude Code - name: Run Claude Code
id: claude id: claude
uses: anthropics/claude-code-action@beta uses: anthropics/claude-code-action@v1
with: with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_args: "--model claude-sonnet-4-5-20250929" claude_args: "--model claude-sonnet-4-5-20250929"

View File

@@ -109,12 +109,13 @@ jobs:
EOF EOF
- name: Run Claude Code for Oncall Triage - name: Run Claude Code for Oncall Triage
uses: anthropics/claude-code-base-action@beta timeout-minutes: 10
uses: anthropics/claude-code-base-action@v1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
prompt_file: /tmp/claude-prompts/oncall-triage-prompt.txt 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 }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
mcp_config: /tmp/mcp-config/mcp-servers.json claude_args: |
claude_env: | --mcp-config /tmp/mcp-config/mcp-servers.json
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} --allowedTools "mcp__github__list_issues,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue"