Allow filters at the workflow level for pr-triggered builds
With a scheduled trigger, it's possible to specify a filter just one for multiple jobs. With a PR-trigger, there's no place in the config where this might go.
Probably easiest to achieve by adding
pr as a trigger type in addition to
schedule, and allowing multiple triggers in a block.
workflows: version: 2.1 my_flow: triggers: - schedule: cron: "0 0 * * *" filters: branches: only: - master - pr: filters: branches: only: - master jobs: . . .