"Max number of workflows exceeded." error

CircleCI Dynamic Configs, formally known as Setup Workflows, allows for a maximum of 1 workflows in the initial setup workflow. So if `setup: true` is set then the following config would be invalid:

workflows:
  one:
    jobs:
      - unit-tests
  two:
    jobs:
      - integration-tests
  

Customers can work around this by trying to combine both workflows into a single workflow:

workflows:
  one:
    jobs:
      - unit-tests
      - inegration-tests

 

Note: More than one workflow can be defined within a dynamic config, and the above error can be avoided as long as conditional parameters are set so that only one workflow will be executed.

Was this article helpful?
3 out of 11 found this helpful

Comments

0 comments

Article is closed for comments.