diff options
author | 2023-11-09 12:18:19 +0100 | |
---|---|---|
committer | 2023-11-09 19:18:19 +0800 | |
commit | 831e9a9159d9f7ab94b543f606e94f30609291ea (patch) | |
tree | 087577e3752c6e4aed60b6f3d719f89a737d19f7 /source/github-helpers/bugs-label.ts | |
parent | c325ba2031bd10746a854fa0607269b48855ed35 (diff) | |
download | refined-github-831e9a9159d9f7ab94b543f606e94f30609291ea.tar.gz refined-github-831e9a9159d9f7ab94b543f606e94f30609291ea.tar.zst refined-github-831e9a9159d9f7ab94b543f606e94f30609291ea.zip |
`bugs-tab` - Support the labels `triage:bug` and `triage/bug` (#7041)
Diffstat (limited to 'source/github-helpers/bugs-label.ts')
-rw-r--r-- | source/github-helpers/bugs-label.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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, '')); } |