Skip to content

fix(ci): set predicate-quantifier: every on paths-filter#23

Merged
CameronBrooks11 merged 1 commit into
mainfrom
fix/paths-filter-quantifier
May 30, 2026
Merged

fix(ci): set predicate-quantifier: every on paths-filter#23
CameronBrooks11 merged 1 commit into
mainfrom
fix/paths-filter-quantifier

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

The default predicate-quantifier: some means a file matches the filter if ANY pattern returns true. Since negation patterns (!**/*.md) are independent picomatch matchers, CHANGELOG.md still matched via the ** pattern — causing full CI to run on docs-only PRs.

Additionally rewrites the extglob pattern to multi-line ! prefix patterns, since picomatch extglob (!(pattern)) only negates single path segments and does not correctly exclude files like CHANGELOG.md.

With predicate-quantifier: every, ALL patterns must agree. Exclusions now work correctly and docs-only PRs will skip code jobs as intended.

The default quantifier (some) means a file matches the filter if ANY
pattern returns true. Since picomatch negations (/home/camlab/repos_anolis/anolis/renovate.json*/*.md) are separate
matchers, CHANGELOG.md still matched via the '**' pattern.

With 'every', ALL patterns must agree — exclusions now work correctly
and docs-only PRs will skip code jobs as intended.
@CameronBrooks11
CameronBrooks11 merged commit 998beda into main May 30, 2026
14 checks passed
@CameronBrooks11
CameronBrooks11 deleted the fix/paths-filter-quantifier branch May 30, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant