Skip to content

Commit 19c5c12

Browse files
feat(triage): reduce label cardinality (#154)
Fixes #152 TL;DR: Just add `priority` and `kind` labels
1 parent 9da5533 commit 19c5c12

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/gemini-issue-automated-triage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ jobs:
100100
1. Run: `gh label list` to get all available labels.
101101
2. Review the issue title and body provided in the environment
102102
variables: "${ISSUE_TITLE}" and "${ISSUE_BODY}".
103-
3. Select the most relevant labels from the existing labels. If
104-
available, set labels that follow the `kind/*`, `area/*`, and
105-
`priority/*` patterns.
103+
3. Classify issues by their kind (bug, enhancement, documentation,
104+
cleanup, etc) and their priority (p0, p1, p2, p3). Set the
105+
labels accoridng to the format `kind/*` and `priority/*` patterns.
106106
4. Apply the selected labels to this issue using:
107107
`gh issue edit "${ISSUE_NUMBER}" --add-label "label1,label2"`
108108
5. If the "status/needs-triage" label is present, remove it using:

examples/workflows/issue-triage/gemini-issue-automated-triage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ jobs:
100100
1. Run: `gh label list` to get all available labels.
101101
2. Review the issue title and body provided in the environment
102102
variables: "${ISSUE_TITLE}" and "${ISSUE_BODY}".
103-
3. Select the most relevant labels from the existing labels. If
104-
available, set labels that follow the `kind/*`, `area/*`, and
105-
`priority/*` patterns.
103+
3. Classify issues by their kind (bug, enhancement, documentation,
104+
cleanup, etc) and their priority (p0, p1, p2, p3). Set the
105+
labels accoridng to the format `kind/*` and `priority/*` patterns.
106106
4. Apply the selected labels to this issue using:
107107
`gh issue edit "${ISSUE_NUMBER}" --add-label "label1,label2"`
108108
5. If the "status/needs-triage" label is present, remove it using:

0 commit comments

Comments
 (0)