mirror of
https://github.com/dorny/paths-filter.git
synced 2026-06-29 20:30:48 +00:00
Merge f180dc4515 into f3ceefdc7e
This commit is contained in:
commit
7b9041e421
1 changed files with 13 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue