Skip to content
Latchkey

GitHub Actions dorny/paths-filter "predicate-quantifier" error

dorny/paths-filter supports predicate-quantifier (some or every) to control how multiple patterns in a filter combine. An invalid value, or using every without understanding it requires all patterns to match, produces unexpected or failing evaluation.

What this error means

A paths-filter step errors on the predicate-quantifier input, or filters evaluate to false unexpectedly when every is set.

github-actions
Error: Input parameter 'predicate-quantifier' must be one of: 'some', 'every'

Common causes

Invalid predicate-quantifier value

Only some (default) and every are accepted; anything else errors.

every semantics misunderstood

With every, a changed file must match all patterns in the filter, which often yields no matches.

How to fix it

Use a valid quantifier and correct filter shape

  1. Set predicate-quantifier to some or every only.
  2. Use some (default) when any matching pattern should activate the filter.
  3. Reserve every for include-and-exclude pattern combinations.
.github/workflows/ci.yml
- uses: dorny/paths-filter@v3
  with:
    predicate-quantifier: 'some'
    filters: |
      src:
        - 'src/**'

How to prevent it

  • Default to some unless you specifically need all-pattern matching.
  • Test filter behavior on a representative changeset.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →