Skip to content

Commit 682d9e2

Browse files
committed
Labeler: Add labeler glob patterns for CI
We have a "Category: CI" label in GH issues and PRs, but there is no labeler rule to automatically mark PRs as such. This adds a labeler rule to automatically add the "Category: CI" label if the PR changes _any_ file in: - '.circleci/*' - '.github/*' If all the changes are within these files, it will _not_ be labelled. - '.github/ISSUE_TEMPLATE/*' - '.github/lsan-suppressions.txt'
1 parent 40804a6 commit 682d9e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/labeler.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
- scripts/**/*
2121
- win32/build/**/*
2222

23+
"Category: CI":
24+
- changed-files:
25+
- any-glob-to-any-file:
26+
- .circleci/**
27+
- .github/**
28+
- '!.github/lsan-suppressions.txt'
29+
- '!.github/ISSUE_TEMPLATE/**'
30+
2331
"Extension: bcmath":
2432
- changed-files:
2533
- any-glob-to-any-file:

0 commit comments

Comments
 (0)