We are trying to configure a scheduled deployment pipeline on our repository. The repository is a monorepo using dynamic configuration (using the continuation orb).
We are running the “setup” pipeline on a schedule. It checks if there is another deployment pipeline already running. If there is no other deployment pipeline already running we want it to “continuation/continue” with the dynamically configured pipeline, otherwise we want it to stop (do nothing).
Basically, we would like to have a when: on_success condition on the continuation/continue command. How can we do that without making the setup pipeline completely fail?