Преглед изворни кода

fix: clarify label instructions in issue triage workflow

Saoud Rizwan пре 1 недеља
родитељ
комит
63efb4aa5d
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      .github/workflows/claude-issue-triage.yml

+ 4 - 1
.github/workflows/claude-issue-triage.yml

@@ -152,8 +152,11 @@ jobs:
             - **Possible Duplicates section** - ALWAYS include a "Possible Duplicates" section at the end of your comment listing issues that might be duplicates so maintainers can quickly close if appropriate. If none found, say "No obvious duplicates found."
 
             ## Labels
+            First, retrieve all available labels and read their descriptions to understand what each is for:
             gh label list --json name,description --limit 100
-            gh issue edit ${{ github.event.issue.number || inputs.issue_number }} --add-label "label1,label2"  # Only use available labels, don't create new ones
+
+            Then apply the appropriate labels based on your analysis. Only use labels from the list above—do not create new labels.
+            gh issue edit ${{ github.event.issue.number || inputs.issue_number }} --add-label "label1,label2"
 
             If your regression analysis found a likely culprit (a recent PR/commit that probably caused this issue), add the "Regression" label:
             gh issue edit ${{ github.event.issue.number || inputs.issue_number }} --add-label "Regression"