summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEli Uriegas <1700823+seemethere@users.noreply.github.com>2024-10-15 09:47:02 -0700
committerGitHub <noreply@github.com>2024-10-15 12:47:02 -0400
commit9d93e333a6f6fe508cdf6c2fb8c91375048ec2a9 (patch)
treeedd507cdb81361152fcde3baff31d8aac85ed601 /.github
parent797405fc61b2d155941506fb53d498076e121017 (diff)
chore: ensure only one cargo publish can run (#26262)
Signed-off-by: Eli Uriegas <github@terriblecode.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cargo_publish.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/cargo_publish.yml b/.github/workflows/cargo_publish.yml
index f77286c7d..8d164ea1b 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