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
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,10 +187,14 @@ For more information, see [CHANGELOG](https://github.com/dorny/paths-filter/blob
187
187
188
188
## Outputs
189
189
190
-
- For each filter, it sets output variable named by the filter to the text:
191
-
- `'true'`- if **any** of changed files matches any of filter rules
192
-
- `'false'`- if **none** of changed files matches any of filter rules
193
-
- For each filter, it sets an output variable with the name `${FILTER_NAME}_count` to the count of matching files.
190
+
- Each filter sets an output variable, named after the filter, whose text value depends on the `predicate-quantifier` setting:
191
+
- With `predicate-quantifier: 'some'` (default):
192
+
- `'true'` - if **any** changed file matches **at least one** of the filter's rules
193
+
- `'false'` - if **no** changed file matches **at least one** of the filter's rules
194
+
- With `predicate-quantifier: 'every'`:
195
+
- `'true'`- if **any** changed file matches **all** of the filter's rules
196
+
- `'false'`- if **no** changed file matches **all** of the filter's rules
197
+
- Each filter sets an output variable with the name `${FILTER_NAME}_count` to the count of matching files.
194
198
- If enabled, for each filter it sets an output variable with the name `${FILTER_NAME}_files`. It will contain a list of all files matching the filter.
195
199
- `changes`- JSON array with names of all filters matching any of the changed files.
0 commit comments