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

chore: upgrade claude-code actions from @beta to @v1Browse files
- Update action references from @beta to @v1
- Move allowed_tools to --allowedTools in claude_args
- Move mcp_config to --mcp-config in claude_args
- Move claude_env to step-level env block
- Replace timeout_minutes with GitHub native timeout-minutes

Claude-Generated-By: Claude Code (cli/claude-opus-4-5=100%)
Claude-Steers: 8
Claude-Permission-Prompts: 3
Claude-Escapes: 0
Kurt Carpenter authored on Jan 10, 2026 parent 9cc635a · commit b8497141a5db
3 changed files+15 -13compared with 9cc635a
M.github/workflows/claude-dedupe-issues.yml
M.github/workflows/claude-issue-triage.yml
M.github/workflows/oncall-triage.yml
@@ -24,12 +24,12 @@
2424
2525 - name: Run Claude Code slash command
2626 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+ timeout-minutes: 5
9899 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"
@@ -109,12 +109,13 @@
109109 EOF
110110
111111 - name: Run Claude Code for Oncall Triage
112+ timeout-minutes: 10
112113 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"