mirror of
https://github.com/dorny/paths-filter.git
synced 2026-03-10 16:34:28 +00:00
Merge f180dc4515 into 668c092af3
This commit is contained in:
commit
c87051c8ca
13
README.md
13
README.md
@ -482,6 +482,19 @@ jobs:
|
||||
<details>
|
||||
<summary>Detect changes in folder only for some file extensions</summary>
|
||||
|
||||
```yaml
|
||||
- uses: dorny/paths-filter@v3
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user