summaryrefslogtreecommitdiff
path: root/source/github-helpers
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers')
-rw-r--r--source/github-helpers/bugs-label.test.ts2
-rw-r--r--source/github-helpers/bugs-label.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/github-helpers/bugs-label.test.ts b/source/github-helpers/bugs-label.test.ts
index 34e65e1a..e5ab0bd9 100644
--- a/source/github-helpers/bugs-label.test.ts
+++ b/source/github-helpers/bugs-label.test.ts
@@ -11,6 +11,8 @@ type/bug
type:bug
kind/bug
kind:bug
+triage/bug
+triage:bug
:bug:bug
:bug: bug
🐛bug
diff --git a/source/github-helpers/bugs-label.ts b/source/github-helpers/bugs-label.ts
index 1d8a9f51..82313154 100644
--- a/source/github-helpers/bugs-label.ts
+++ b/source/github-helpers/bugs-label.ts
@@ -1,4 +1,4 @@
-const supportedLabels = /^(bug|bug-?fix|confirmed-bug|type[:/]bug|kind[:/]bug|(:[\w-]+:|\p{Emoji})bug)$/iu;
+const supportedLabels = /^(bug|bug-?fix|confirmed-bug|(type|kind|triage)[:/]bug|(:[\w-]+:|\p{Emoji})bug)$/iu;
export default function isBugLabel(label: string): boolean {
return supportedLabels.test(label.replaceAll(/\s/g, ''));
}