Skip to content

Commit 90747c2

Browse files
committed
Labeler: Fix glob patterns with negative patterns
Second follow-up to phpGH-16915, because it caused all files changed other than the excluded directories in the `.github` directory to be labelled as `Category: CI`.
1 parent 6d62d87 commit 90747c2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/labeler.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@
2323
"Category: CI":
2424
- changed-files:
2525
- any-glob-to-any-file:
26-
- .circleci/**
27-
- .github/**
28-
- '!.github/lsan-suppressions.txt'
29-
- '!.github/ISSUE_TEMPLATE/**'
26+
- .circleci/*
27+
- .github/actions/**/*
28+
- .github/scripts/**/*
29+
- .github/workflows/*
30+
- .github/CODEOWNERS
31+
- .github/labeler.yml
32+
- .github/setup_hmailserver.php
33+
- .github/matrix.php
3034

3135
"Extension: bcmath":
3236
- changed-files:

0 commit comments

Comments
 (0)