diff --git a/README.md b/README.md index a4b1035..47702fe 100644 --- a/README.md +++ b/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