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
ci: update claude-code-base-action and claude-code-action to v1
| 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 @@ | ||
| 23 | 23 | uses: actions/checkout@v4 |
| 24 | 24 | |
| 25 | 25 | - 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 }} | |
| 27 | 29 | with: |
| 28 | 30 | prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}" |
| 29 | 31 | anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} |
| 30 | 32 | claude_args: "--model claude-sonnet-4-5-20250929" |
| 31 | - claude_env: | | |
| 32 | - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 33 | 33 | |
| 34 | 34 | - name: Log duplicate comment event to Statsig |
| 35 | 35 | if: always() |
| @@ -95,13 +95,14 @@ | ||
| 95 | 95 | EOF |
| 96 | 96 | |
| 97 | 97 | - 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 }} | |
| 99 | 102 | with: |
| 100 | 103 | 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" | |
| 103 | 104 | 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 @@ | ||
| 31 | 31 | |
| 32 | 32 | - name: Run Claude Code |
| 33 | 33 | id: claude |
| 34 | - uses: anthropics/claude-code-action@beta | |
| 34 | + uses: anthropics/claude-code-action@v1 | |
| 35 | 35 | with: |
| 36 | 36 | anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} |
| 37 | 37 | claude_args: "--model claude-sonnet-4-5-20250929" |
| @@ -109,12 +109,13 @@ | ||
| 109 | 109 | EOF |
| 110 | 110 | |
| 111 | 111 | - 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 }} | |
| 113 | 116 | with: |
| 114 | 117 | 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" | |
| 117 | 118 | 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" |