From 48994b8c876f12ebb90396b16227e5c5f1fc915c Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Wed, 18 Feb 2026 15:25:39 +1100 Subject: [PATCH] ci: limit publish workflow to single concurrent run Cancel any in-progress publish when a new push to staged arrives, ensuring only the latest version is published to main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3cd1b695..cc94a473 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,10 @@ on: push: branches: [staged] +concurrency: + group: publish-to-main + cancel-in-progress: true + permissions: contents: write