Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@ The `labels` array should contain strings representing the recommended label nam
- Do not make assumptions beyond what is clearly stated or strongly implied
- Ensure all recommended labels are meaningful and actionable
- If uncertain about a label, exclude it rather than guessing
- An issue may have multiple type labels and multiple area labels if appropriate

## [📌] Additional Guidelines

- Issues may warrant multiple type labels and/or multiple area labels when clearly justified by the content
- **Test Plans Label Usage**: Only apply `Test Plans 🧪` when the issue directly relates to test management features, test case authoring, test suites, or the Test Plans API itself—not merely because testing or writing tests is mentioned as part of standard development practice
6 changes: 3 additions & 3 deletions .github/workflows/ai-issue-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
# Parse the JSON response to extract labels
LABELS=$(echo "$AI_RESPONSE" | python3 -c "import sys, json; print(' '.join([f'--add-label \"{label}\"' for label in json.load(sys.stdin)['labels']]))")

# Add the recommended labels and remove the ai-issue-processing label
# Add the recommended labels, always add "Needs Review 👓", and remove the ai-issue-processing label
if [ -n "$LABELS" ]; then
eval gh issue edit $ISSUE_NUMBER $LABELS --remove-label "ai-issue-processing" --repo ${{ github.repository }}
eval gh issue edit $ISSUE_NUMBER $LABELS --add-label "Needs Review 👓" --remove-label "ai-issue-processing" --repo ${{ github.repository }}
else
gh issue edit $ISSUE_NUMBER --remove-label "ai-issue-processing" --repo ${{ github.repository }}
gh issue edit $ISSUE_NUMBER --add-label "Needs Review 👓" --remove-label "ai-issue-processing" --repo ${{ github.repository }}
fi