Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 1ad3ee7

Browse files
authored
Merge pull request #343 from microsoft/dev/bhavyau/fix-triage
Refactor issue triage logic to remove unnecessary label check for already assigned issues
2 parents 2a7b58e + b17a77f commit 1ad3ee7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

triage/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

triage/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class IssueTriageAction extends Action {
2323
return;
2424
}
2525

26-
// check to see that issue is not already assigned and that it does not have the triage-needed label
27-
if (githubIssue.assignees.length > 0 || githubIssue.labels.length > 0) {
26+
// check to see that issue is not already assigned
27+
if (githubIssue.assignees.length > 0) {
2828
return;
2929
}
3030

0 commit comments

Comments
 (0)