Compare commits

...

2 Commits

Author SHA1 Message Date
Simon Heimberg
a4c8185860
Merge f180dc4515 into b82ff81ffb 2026-03-25 12:19:52 -04:00
Simon Heimberg
f180dc4515
example how to exclude paths in README.md
Add another example how to exclude paths.
Found out by reading doc of  picomatch and trying.
2025-08-25 12:30:16 +02:00

View File

@ -499,6 +499,19 @@ jobs:
```yaml
- uses: dorny/paths-filter@v4
id: filter
with:
# include the files not (!) matching the listed extensions (list separated by |, grouped by ())
filters: |
backend:
- 'pkg/a/b/c/**/!(*.jpeg|*.md)'
- 'pkg/x/**'
```
or
```yaml
- uses: dorny/paths-filter@v3
id: filter
with:
# This makes it so that all the patterns have to match a file for it to be