Skip to content

Commit ef68373

Browse files
Change issue labeler to not treat MAC as "darwin". (#33478)
1 parent 1b455b5 commit ef68373

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/issue-labeler.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ darwin:
55
# (like "kiosk" or whatnot), but do allow matching "ios8" and things
66
# like that.
77
#
8+
# Make sure we don't trigger for the string "MAC", which almost
9+
# certainly has nothing to do with Darwin.
10+
#
811
# \\b means "word boundary"
912
# (?![a-z]) means "there is no next char in the range a-z".
10-
- "/(\\bios(?![a-z])|homepod|darwin|\\bmac\\b|macos)/i"
13+
- "/(\\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])/"
1114

1215
linux:
1316
- "/(linux)/i"

0 commit comments

Comments
 (0)