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

claude-code / .github / workflows / claude-issue-triage-manual.yml
Robert BoyceAdd manual issue triage workflow 3d5ae36 · on Jun 5, 2025 History
46 lines · 1.4 KBRaw
1name: Claude Issue Triage Manual
2description: "Manually triage GitHub issues using Claude Code"
3
4on:
5 workflow_dispatch:
6 inputs:
7 issue_numbers:
8 description: 'Comma-separated list of issue numbers to triage (e.g., 123,456,789)'
9 required: true
10 type: string
11
12jobs:
13 parse-issues:
14 runs-on: ubuntu-latest
15 outputs:
16 matrix: ${{ steps.set-matrix.outputs.matrix }}
17 steps:
18 - name: Parse issue numbers
19 id: set-matrix
20 run: |
21 # Remove spaces and convert to JSON array
22 CLEANED=$(echo "${{ github.event.inputs.issue_numbers }}" | tr -d ' ')
23 IFS=',' read -ra ISSUES <<< "$CLEANED"
24 MATRIX_JSON=$(printf '%s\n' "${ISSUES[@]}" | jq -R . | jq -s -c '{issue: .}')
25 echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
26
27 triage-issue:
28 needs: parse-issues
29 runs-on: ubuntu-latest
30 timeout-minutes: 10
31 permissions:
32 contents: read
33 issues: write
34 strategy:
35 matrix: ${{ fromJson(needs.parse-issues.outputs.matrix) }}
36 max-parallel: 5
37 steps:
38 - name: Checkout repository
39 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
40
41 - name: Run Claude Issue Triage
42 uses: ./.github/actions/claude-issue-triage-action
43 with:
44 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
45 github_token: ${{ secrets.GITHUB_TOKEN }}
46 issue_number: ${{ matrix.issue }}