From 6f53153b8cbbc1d11070836d919899b92e674e0e Mon Sep 17 00:00:00 2001 From: Michael Hinton Date: Wed, 28 Aug 2024 11:38:38 -0700 Subject: [PATCH] Update Outputs in readme to account for the 'every' predicate-quantifier --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b5e0f4cf..0eb16ca1 100644 --- a/README.md +++ b/README.md @@ -173,10 +173,11 @@ For more information, see [CHANGELOG](https://github.com/dorny/paths-filter/blob ## Outputs -- For each filter, it sets output variable named by the filter to the text: - - `'true'` - if **any** of changed files matches any of filter rules - - `'false'` - if **none** of changed files matches any of filter rules -- For each filter, it sets an output variable with the name `${FILTER_NAME}_count` to the count of matching files. +- Each filter sets an output variable named by the filter to the following text value: + - `'true'` - if **any** of the changed files match any filter rules with `predicate-quantifier` set to `'some'` (default) + - `'true'` - if **any** of the changed files match **all** filter rules with `predicate-quantifier` set to `'every'` + - `'false'` - if **none** of the changed files matches any of filter rules +- Each filter sets an output variable with the name `${FILTER_NAME}_count` to the count of matching files. - 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. - `changes` - JSON array with names of all filters matching any of the changed files.