Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down