spacehub

surshar / claude-code

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.

Built by Anthropic · github.com/anthropics

Merge pull request #17238 from anthropics/ci/update-base-actionBrowse files
ci: update claude-code-base-action and claude-code-action to v1
ant-kurt authored on Jan 12, 2026 · GitHub committed on Jan 12, 2026 parents a856c62 + b849714 · commit b17c088cdc38
4 changed files+19 -17compared with a856c62
M.github/workflows/claude-dedupe-issues.yml
M.github/workflows/claude-issue-triage.yml
M.github/workflows/claude.yml
M.github/workflows/oncall-triage.yml
@@ -23,13 +23,13 @@
2323 uses: actions/checkout@v4
2424
2525 - name: Run Claude Code slash command
26- uses: anthropics/claude-code-base-action@beta
26+ uses: anthropics/claude-code-base-action@v1
27+ env:
28+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2729 with:
2830 prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}"
2931 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3032 claude_args: "--model claude-sonnet-4-5-20250929"
31- claude_env: |
32- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
3434 - name: Log duplicate comment event to Statsig
3535 if: always()
@@ -95,13 +95,14 @@
9595 EOF
9696
9797 - name: Run Claude Code for Issue Triage
98- uses: anthropics/claude-code-base-action@beta
98+ timeout-minutes: 5
99+ uses: anthropics/claude-code-base-action@v1
100+ env:
101+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99102 with:
100103 prompt_file: /tmp/claude-prompts/triage-prompt.txt
101- 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"
102- timeout_minutes: "5"
103104 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
104- mcp_config: /tmp/mcp-config/mcp-servers.json
105- claude_args: "--model claude-sonnet-4-5-20250929"
106- claude_env: |
107- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105+ claude_args: |
106+ --model claude-sonnet-4-5-20250929
107+ --mcp-config /tmp/mcp-config/mcp-servers.json
108+ --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"
@@ -31,7 +31,7 @@
3131
3232 - name: Run Claude Code
3333 id: claude
34- uses: anthropics/claude-code-action@beta
34+ uses: anthropics/claude-code-action@v1
3535 with:
3636 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3737 claude_args: "--model claude-sonnet-4-5-20250929"
@@ -109,12 +109,13 @@
109109 EOF
110110
111111 - name: Run Claude Code for Oncall Triage
112- uses: anthropics/claude-code-base-action@beta
112+ timeout-minutes: 10
113+ uses: anthropics/claude-code-base-action@v1
114+ env:
115+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113116 with:
114117 prompt_file: /tmp/claude-prompts/oncall-triage-prompt.txt
115- allowed_tools: "mcp__github__list_issues,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue"
116- timeout_minutes: "10"
117118 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
118- mcp_config: /tmp/mcp-config/mcp-servers.json
119- claude_env: |
120- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119+ claude_args: |
120+ --mcp-config /tmp/mcp-config/mcp-servers.json
121+ --allowedTools "mcp__github__list_issues,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue"