Skip to content

Commit 785fe4c

Browse files
authored
chore: Update auto triage guidelines
1 parent 7b1a151 commit 785fe4c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,18 @@ jobs:
9292
variables: "${ISSUE_TITLE}" and "${ISSUE_BODY}".
9393
3. Classify issues by their kind (bug, enhancement, documentation,
9494
cleanup, etc) and their priority (p0, p1, p2, p3). Set the
95-
labels accoridng to the format `kind/*` and `priority/*` patterns.
95+
labels accoridng to the format `type: *` and `priority: *` patterns.
96+
If the priority is decided to be more urgent than p2 (e.g. p0 or p1), mark the issue
97+
as p2 and leave a comment in the issue with the reason. The comment should ping
98+
@blakeli0, @lqiu96, and @zhumin8 to notify them.
9699
4. Apply the selected labels to this issue using:
97100
`gh issue edit "${ISSUE_NUMBER}" --add-label "label1,label2"`
98101
5. If the "status/needs-triage" label is present, remove it using:
99102
`gh issue edit "${ISSUE_NUMBER}" --remove-label "status/needs-triage"`
100103
101104
## Guidelines
102105
106+
- If there are already labels for `type: *` and `priority: *`, do not modify them
103107
- Only use labels that already exist in the repository
104108
- Do not add comments or modify the issue content
105109
- Triage only the current issue
@@ -118,4 +122,4 @@ jobs:
118122
repo: '${{ github.repository }}'.split('/')[1],
119123
issue_number: '${{ github.event.issue.number }}',
120124
body: 'There is a problem with the Gemini CLI issue triaging. Please check the [action logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.'
121-
})
125+
})

0 commit comments

Comments
 (0)