Sequentially Running Workflows

I’d like to force a workflow to run sequentially. Note that I’m not speaking of the jobs in the workflow, but the workflow as a whole.

For instance, if a branch is pushed to and a workflow is triggered, if that branch is pushed to again, the workflow will trigger once more and jobs between the two will run in a mixed sequence. This is causing some issues for us. I’d like the first triggering of the workflow to complete before any jobs in the second triggering begin.

Is this currently possible? I can’t seem to find any mention of this in the current documentation.

1 Like

Some related items, from searching “prevent parallel”:

I’ve not needed this feature, but I don’t recall seeing it in the docs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Hi,

You can use this Orb to serialize workflows and jobs https://circleci.com/orbs/registry/orb/eddiewebb/queue.
The Author of the Orb has also published additional information about his Orb here : https://eddiewebb.github.io/circleci-queue/