Github actions filter jobs or steps by push path

Viewed 2481

We've got some actions that it makes sense to logically group in one workflow, but not all of them need to run all the time.

I'm aware of

on:
  push:
    paths:
    - 'docs/**'

Is there a way to apply this information at the level of a particular job or step?

1 Answers

Not out of the box, but you can use actions like dorny/paths-filter to build this behavior.

Related