mirror of
https://github.com/anthropics/claude-code.git
synced 2026-02-19 04:27:33 -08:00
Compare commits
1 Commits
claude/inv
...
rboyce/act
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d5ae36896 |
@@ -12,6 +12,9 @@ inputs:
|
|||||||
github_token:
|
github_token:
|
||||||
description: "GitHub token with repo and issues permissions"
|
description: "GitHub token with repo and issues permissions"
|
||||||
required: true
|
required: true
|
||||||
|
issue_number:
|
||||||
|
description: "Issue number to triage (optional - defaults to event issue number)"
|
||||||
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
@@ -32,7 +35,7 @@ runs:
|
|||||||
|
|
||||||
Issue Information:
|
Issue Information:
|
||||||
- REPO: ${{ github.repository }}
|
- REPO: ${{ github.repository }}
|
||||||
- ISSUE_NUMBER: ${{ github.event.issue.number }}
|
- ISSUE_NUMBER: ${{ inputs.issue_number || github.event.issue.number }}
|
||||||
|
|
||||||
TASK OVERVIEW:
|
TASK OVERVIEW:
|
||||||
|
|
||||||
|
|||||||
46
.github/workflows/claude-issue-triage-manual.yml
vendored
Normal file
46
.github/workflows/claude-issue-triage-manual.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
name: Claude Issue Triage Manual
|
||||||
|
description: "Manually triage GitHub issues using Claude Code"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
issue_numbers:
|
||||||
|
description: 'Comma-separated list of issue numbers to triage (e.g., 123,456,789)'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
parse-issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||||
|
steps:
|
||||||
|
- name: Parse issue numbers
|
||||||
|
id: set-matrix
|
||||||
|
run: |
|
||||||
|
# Remove spaces and convert to JSON array
|
||||||
|
CLEANED=$(echo "${{ github.event.inputs.issue_numbers }}" | tr -d ' ')
|
||||||
|
IFS=',' read -ra ISSUES <<< "$CLEANED"
|
||||||
|
MATRIX_JSON=$(printf '%s\n' "${ISSUES[@]}" | jq -R . | jq -s -c '{issue: .}')
|
||||||
|
echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
triage-issue:
|
||||||
|
needs: parse-issues
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
strategy:
|
||||||
|
matrix: ${{ fromJson(needs.parse-issues.outputs.matrix) }}
|
||||||
|
max-parallel: 5
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
|
|
||||||
|
- name: Run Claude Issue Triage
|
||||||
|
uses: ./.github/actions/claude-issue-triage-action
|
||||||
|
with:
|
||||||
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issue_number: ${{ matrix.issue }}
|
||||||
Reference in New Issue
Block a user