Is it possible for a workflow to depend on another workflow?
We currently have two workflows.
test workflow is responsible for testing the code base. The
deploy workflow is responsible for testing, building and deploying the code base.
test workflow runs on any push to all branches.
deploy workflow only runs from a push on the
The current setup has two negative side effects. 1) we have to duplicate the test steps in both the
deploy workflow. 2) when pushing to
test steps get run twice. Once in the
test workflow and once in the
If would be great if there was a way to only run the
deploy workflow if the
test workflow was successful. Eliminating the requirement of duplicating steps between workflows and testing the code base twice.