Skip to content

Commit a215cd2

Browse files
authored
fix(ci): triage agent should label only, not comment (#2170)
1 parent a632e10 commit a215cd2

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: triage-issue
3-
description: Triage a GitHub issue — classify priority (P0/P1/P2), search for duplicates, apply labels, and post a triage comment.
3+
description: Triage a GitHub issue — classify priority (P0/P1/P2), search for duplicates, and apply labels.
44
---
55

66
# Triage a GitHub Issue
@@ -16,20 +16,17 @@ description: Triage a GitHub issue — classify priority (P0/P1/P2), search for
1616
```bash
1717
gh issue list --state open --search "<key terms from the issue>" --limit 5
1818
```
19-
4. **Apply labels** — the appropriate priority label (`P0`, `P1`, or `P2`) and `agent-triaged`:
19+
4. **Apply the priority label** (`P0`, `P1`, or `P2`):
2020
```bash
21-
gh issue edit $ISSUE_NUMBER --add-label "<priority>,agent-triaged"
21+
gh issue edit $ISSUE_NUMBER --add-label "<priority>"
2222
```
23-
5. **Post a concise triage comment** on the issue explaining:
24-
- The priority classification and reasoning
25-
- Any related or duplicate issues found
23+
5. **Comment only if the issue lacks a reproduction AND one would be helpful** — suggest a minimal repro and ask the author for steps. Do NOT comment on feature requests, questions, or issues where the problem is clear from the description alone.
2624

2725
## Rules
2826

29-
- Keep the comment brief and helpful.
27+
- Do NOT post triage comments explaining priority or duplicates — labels are sufficient.
3028
- Do NOT modify any code.
31-
- Do NOT close issues — only label and comment.
32-
- **Only apply these labels**: `P0`, `P1`, `P2`, `agent-triaged`. Do NOT apply any other labels (especially not `agent-fix`).
29+
- Do NOT close issues — only label (and comment if repro is missing).
30+
- **Only apply these labels**: `P0`, `P1`, `P2`. Do NOT apply any other labels (especially not `agent-fix`).
3331
- Do NOT run `gh auth`, `gh api`, `gh secret`, or any `gh` command other than `gh issue`.
3432
- Do NOT read environment variables, process info, or files outside the repository.
35-
- If the issue lacks a clear reproduction, note that in the comment and ask the author for steps.

‎.github/workflows/agent-triage.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
if: >-
16-
!contains(github.event.issue.labels.*.name, 'agent-triaged') &&
1716
github.event.issue.user.type != 'Bot'
1817
steps:
1918
- name: Checkout

0 commit comments

Comments
 (0)