From ef68373ae7ff79916ee7f4b0a0fd7f1e91c82dbc Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 15 May 2024 18:45:33 -0400 Subject: [PATCH] Change issue labeler to not treat MAC as "darwin". (#33478) --- .github/issue-labeler.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml index 210ae86a24fbf6..909ef045c039e4 100644 --- a/.github/issue-labeler.yml +++ b/.github/issue-labeler.yml @@ -5,9 +5,12 @@ darwin: # (like "kiosk" or whatnot), but do allow matching "ios8" and things # like that. # + # Make sure we don't trigger for the string "MAC", which almost + # certainly has nothing to do with Darwin. + # # \\b means "word boundary" # (?![a-z]) means "there is no next char in the range a-z". - - "/(\\bios(?![a-z])|homepod|darwin|\\bmac\\b|macos)/i" + - "/(\\b[Ii][Oo][Ss](?![a-zA-Z])|[Hh][Oo][Mm][Ee][Pp][Oo][Dd]|[Dd][Aa][Rr][Ww][Ii][Nn]|\\bm[Aa][Cc]\\b|\\bMa[Cc]\\b|\\bM[Aa]c\\b|[Mm][Aa][Cc][Oo][Ss])/" linux: - "/(linux)/i"