Let’s say I want to have an hourly (later more likely a daily) task:
workflows: version: 2 build: jobs: - build hourly: triggers: - schedule: cron: "0 * * * *" filters: branches: only: - develop jobs: - merge
Do I need to push these changes on a particular branch or any branch is OK to configure scheduled workflows? If I change the
cron definition on branch X and push will it overwrite the configuration on CircleCI?
I have a hard time understanding what is the source of truth on when a workflow is scheduled if it can be defined to different values on different branches. I am not sure which config wins in such case…