diff --git a/src/examples/example.yml b/src/examples/global-queue.yml similarity index 100% rename from src/examples/example.yml rename to src/examples/global-queue.yml diff --git a/src/examples/pipeline-queue.yml b/src/examples/pipeline-queue.yml new file mode 100755 index 0000000..0075e76 --- /dev/null +++ b/src/examples/pipeline-queue.yml @@ -0,0 +1,13 @@ +description: > + Use when you want a single workflow to be run at the end of a given pipeline (internal queueing). +usage: + version: 2.1 + orbs: + workflow-queue: promiseofcake/workflow-queue@3 + workflows: + example: + jobs: + - workflow-queue/pipeline-queue: + name: pipeline-queue + context: + only-on-branch: main