Commit d04372a
Fix paths-filter logic to correctly skip CI for docs-only changes
The previous approach using `'**'` with negations didn't work because
dorny/paths-filter returns true if ANY file matches ANY positive pattern.
The negations only filter the matched files list, not the boolean output.
Solution: Invert the logic by defining a 'docs-only' filter with
`predicate-quantifier: 'every'`, which returns true only when ALL
changed files are documentation. This correctly skips CI jobs when
only docs are modified.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 4742ca0 commit d04372a
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments