forked from Kinovarobotics/ros2_kortex
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (28 loc) · 933 Bytes
/
claude-triage.yml
File metadata and controls
36 lines (28 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Claude Daily Issue Triage
on:
workflow_dispatch: # allows manual trigger
jobs:
triage:
runs-on: ubuntu-latest
permissions:
issues: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Claude Code CLI
run: npm install -g @anthropic-ai/claude-code
- name: Run Claude triage
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: |
claude "Read all open GitHub issues. Identify likely bugs vs feature requests. Suggest labels and assign a level of complexity for each on a scale from 1 to 10" > triage_report.md
- name: Upload triage report
uses: actions/upload-artifact@v4
with:
name: triage-report
path: triage_report.md