mirror of
https://github.com/anthropics/claude-code.git
synced 2026-01-30 04:02:03 +00:00
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:
6
.github/workflows/claude-dedupe-issues.yml
vendored
6
.github/workflows/claude-dedupe-issues.yml
vendored
@@ -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()
|
||||||
|
|||||||
15
.github/workflows/claude-issue-triage.yml
vendored
15
.github/workflows/claude-issue-triage.yml
vendored
@@ -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"
|
||||||
|
|||||||
2
.github/workflows/claude.yml
vendored
2
.github/workflows/claude.yml
vendored
@@ -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"
|
||||||
|
|||||||
13
.github/workflows/oncall-triage.yml
vendored
13
.github/workflows/oncall-triage.yml
vendored
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user