paths-filter
paths-filter copied to clipboard
Filtering just first-leve files (excluding subfolders) doesn't work
Filtering changes on just first-level files in a folder (ignoring subfolders) doesn't work.
An example of what I'm trying to do:
- name: Detect changes
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
test-config:
- 'tests/*(.).py'
I guess this just should be:
- tests/*.py
else the file name must be like tests/xx..py (with two dots).
* matches one level, ** matches any level.
To try out patterns, you can use something like https://codesandbox.io/p/sandbox/picomatch-playground-ebjlxm