I want to run a workflow conditionally on all pull_requests and unconditionally on master. The following accomplishes that on
master but how can this be made generic to be pull requests against any branch.
branches: - master
pull_requests didn’t do the trick.
on: push: branches: - master pull_request: branches: - master # Run death_etl tests iff there are changes to the yaml file or death_etl/connect_util dir or requirements dir paths: - 'foo/*'