Allow workflows to trigger other workflows
complete
B
Benjamin Manuel
It is often the case that there will be slightly different workflows for a project depending on branches (such as with PR and master branches) that have a job that is filtered early on in the workflow. Right now, an entirely separate workflow is required to make this work. ie A -> B -> (C, D, E) -> F for master and B -> (C, D, E) for PRs. I would propose that it would be best to be able to set up the master workflow to contain the other workflow. This would reduce duplication of the workflow code, which could lead to errors.
CCI-I-273
Liya Ai
Hi Ben! Closing the loop here as you should now be able to accomplish this with conditional workflows using the "When" clause and logic statements. The following articles should be helpful: https://circleci.com/docs/2.0/configuration-reference/#logic-statements, https://circleci.com/docs/2.0/pipeline-variables/#conditional-workflows . If you have any other questions - feel free to comment here or raise a support ticket with specific details on your situation
Angel Rivera
I'm at KubeCon EU with a customer & he has a need for workflows that trigger workflows. I'm upvoting this on their behalf from the conference. Can we get a status of this idea? Thx