improve triage prompt (#2314)

This commit is contained in:
Jerop Kipruto 2025-06-27 20:53:38 -04:00 committed by GitHub
parent ac2bc3af7c
commit 6c4391dda5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -47,13 +47,19 @@ jobs:
2. **Analyze the Issue:**
- Based on the issue title, body, and any comments, determine the most appropriate labels.
- Consider the type of issue (e.g., `kind/bug`, `kind/enhancement`, `kind/documentation`), the area of the codebase it affects (e.g., `area/core`, `area/ux`, `area/tools`), and assess the priority if possible (e.g., `priority/p1`, `priority/p2`).
- Always apply:
- Kind of issue (e.g., `kind/bug`, `kind/enhancement`, `kind/documentation`)
- Area of the codebase it affects (e.g., `area/core`, `area/ux`, `area/tools`)
- Priority if possible (e.g., `priority/p1`, `priority/p2`).
3. **Apply Labels:**
- Use the `gh` command-line tool to add the selected labels to the issue.
- Example command: `gh issue edit ${{ github.event.issue.number }} --add-label "kind/bug,area/core"`
- You can add multiple labels in a single command.
4. **Finalize:**
- Remove the `status/need-triage` label if it exists, as the issue has been triaged.
**Guidelines:**
- Only use labels that exist in the repository (from the `gh label list` command).
- Do not add a comment to the issue.