mirror of
https://github.com/dorny/paths-filter.git
synced 2026-03-23 04:00:24 +00:00
Merge f180dc4515 into fbd0ab8f3e
This commit is contained in:
commit
e8b6f58ace
13
README.md
13
README.md
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user