GitHub Actions – event filtering updates

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.

    - "**/*.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.

    - "*"
    - "!docs"

Now you can specify `paths-ignore`.

    - "docs/**"

Learn more about event filtering in GitHub Actions here.

Join us at GitHub Universe

Our largest product and community conference is returning to the Palace of Fine Arts in San Francisco, November 13-14. Hear what's next for the GitHub platform, find inspiration for your next project, and connect with developers who are changing the world.

Get tickets

GitHub Actions now supports CI/CD

GitHub Actions makes it easier to automate how you build, test, and deploy your projects on any platform, including Linux, macOS, and Windows. Try out the beta before GitHub Actions is generally available on November 13.

Sign up for the beta