You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,15 @@ For more control over matching, you can provide a match object instead of a simp
26
26
```yml
27
27
- any: ['list', 'of', 'globs']
28
28
all: ['list', 'of', 'globs']
29
+
allofany: ['list', 'of', 'globs']
29
30
```
30
31
31
-
One or both fields can be provided for fine-grained matching. Unlike the top-level list, the list of path globs provided to `any` and `all` must ALL match against a path for the label to be applied.
32
+
One two or three fields can be provided for fine-grained matching. Unlike the top-level list, the list of path globs provided to `any` and `all` must ALL match against a path for the label to be applied.
32
33
33
34
The fields are defined as follows:
34
35
* `any`: match ALL globs against ANY changed path
35
36
* `all`: match ALL globs against ALL changed paths
37
+
* `allofany`: match ANY globs against ALL changed paths
36
38
37
39
A simple path glob is the equivalent to `any: ['glob']`. More specifically, the following two configurations are equivalent:
38
40
```yml
@@ -87,6 +89,10 @@ source:
87
89
frontend:
88
90
- any: ['src/**/*.js']
89
91
all: ['!src/main.js']
92
+
93
+
# Add 'documentation' label to any change consisting entirely of text files
0 commit comments