From 9d93e333a6f6fe508cdf6c2fb8c91375048ec2a9 Mon Sep 17 00:00:00 2001 From: Eli Uriegas <1700823+seemethere@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:47:02 -0700 Subject: [PATCH] chore: ensure only one cargo publish can run (#26262) Signed-off-by: Eli Uriegas --- .github/workflows/cargo_publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cargo_publish.yml b/.github/workflows/cargo_publish.yml index f77286c7d4..8d164ea1bf 100644 --- a/.github/workflows/cargo_publish.yml +++ b/.github/workflows/cargo_publish.yml @@ -2,6 +2,11 @@ name: cargo_publish on: workflow_dispatch +# Ensures only one publish is running at a time +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + jobs: build: name: cargo publish