mirror of
https://github.com/dorny/paths-filter.git
synced 2026-07-01 18:51:40 +00:00
Compare commits
2 Commits
7b9041e421
...
a4c8185860
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4c8185860 | ||
|
|
f180dc4515 |
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