We’ve updated the event filtering syntax for paths, branches and tags to better support common scenarios and address some customer feedback.
In the initial syntax it was not possible to match all files recursively as we did not support the **
glob.
Now you can simply specify a pattern like **/*.js
to match all js files in all paths.
on: push: paths: - "**/*.js"
There was also confusion about how to always run except for changes under a certain folder.
Previously you had to first include all files and then negate some paths.
on: push: paths: - "*" - "!docs"
Now you can specify `paths-ignore`.
on: push: paths-ignore: - "docs/**"