mirror of
https://github.com/anthropics/claude-code.git
synced 2026-02-19 04:27:33 -08:00
Compare commits
8 Commits
boris/xgsw
...
rboyce/act
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d5ae36896 | ||
|
|
6370398030 | ||
|
|
bb083eea94 | ||
|
|
d9cc2b58a2 | ||
|
|
0c3b9e94e1 | ||
|
|
3cf808d1ec | ||
|
|
e9f7c53b7c | ||
|
|
d1510f5eef |
@@ -12,6 +12,9 @@ inputs:
|
||||
github_token:
|
||||
description: "GitHub token with repo and issues permissions"
|
||||
required: true
|
||||
issue_number:
|
||||
description: "Issue number to triage (optional - defaults to event issue number)"
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@@ -32,7 +35,7 @@ runs:
|
||||
|
||||
Issue Information:
|
||||
- REPO: ${{ github.repository }}
|
||||
- ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||
- ISSUE_NUMBER: ${{ inputs.issue_number || github.event.issue.number }}
|
||||
|
||||
TASK OVERVIEW:
|
||||
|
||||
@@ -55,14 +58,22 @@ runs:
|
||||
- User impact
|
||||
- Components affected
|
||||
|
||||
4. Select appropriate labels from the available labels list provided above:
|
||||
4. Identify existing duplicate issues:
|
||||
- Use mcp__github__search_issues to find similar issues
|
||||
- List out all open or recently closed issues that seem likely to be reports of the same problem
|
||||
- Place the best candidate issue to merge into at the top of the list.
|
||||
The best candidate issue is the one that is:
|
||||
1. Has the same underlying cause as the current issue
|
||||
2. Is the most complete and well-documented
|
||||
3. Is the oldest open issue that is still relevant
|
||||
|
||||
5. Select appropriate labels from the available labels list provided above:
|
||||
- Choose labels that accurately reflect the issue's nature
|
||||
- Be specific but comprehensive
|
||||
- Select priority labels if you can determine urgency (high-priority, med-priority, or low-priority)
|
||||
- Consider platform labels (android, ios) if applicable
|
||||
- If you find similar issues using mcp__github__search_issues, consider using a "duplicate" label if appropriate. Only do so if the issue is a duplicate of another OPEN issue.
|
||||
- Consider platform labels (macos, linux, windows) if applicable
|
||||
- Do not apply the "duplicate" label unless you are certain the issue is a duplicate of another open issue
|
||||
|
||||
5. Apply the selected labels:
|
||||
6. Apply the selected labels:
|
||||
- Use mcp__github__update_issue to apply your selected labels
|
||||
- DO NOT post any comments explaining your decision
|
||||
- DO NOT communicate directly with users
|
||||
|
||||
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 }}
|
||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,6 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 1.1.0
|
||||
## 1.0.11
|
||||
|
||||
- Claude Code can now also be used with a Claude Pro subscription
|
||||
- Added /upgrade for smoother switching to Claude Max plans
|
||||
- Improved UI for authentication from API keys and Bedrock/Vertex/external auth tokens
|
||||
- Improved shell configuration error handling
|
||||
- Improved todo list handling during compaction
|
||||
|
||||
## 1.0.10
|
||||
|
||||
- Added markdown table support
|
||||
- Improved streaming performance
|
||||
|
||||
Reference in New Issue
Block a user