I’m trying to use setup workflow to handle specific edge case in our build process.
But I’m facing an issue when trying to make it work with scheduled workflow. Basically we need a CircleCI config where we can use scheduled workflow and setup workflow together.
Using this config CircleCI throw this error: “Max number of workflows exceeded.”
version: 2.1 setup: true orbs: continuation: firstname.lastname@example.org node: email@example.com jobs: scheduled_job: docker: - image: cimg/base:2021.02 steps: - run: name: Install npm command: npm install setup_job: executor: continuation/default steps: - run: name: Generate config command: | ./generate_config > generated_config.yml - continuation/continue: configuration_path: generated_config.yml workflows: scheduled: triggers: - schedule: cron: '0 0 * * 1' filters: branches: only: - master jobs: - scheduled_job setup: jobs: - setup_job
How setup workflow and scheduled job can works together ?