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>
This commit is contained in:
Aaron Powell
2026-02-18 15:25:39 +11:00
parent 0efa435f50
commit 48994b8c87

View File

@@ -4,6 +4,10 @@ on:
push:
branches: [staged]
concurrency:
group: publish-to-main
cancel-in-progress: true
permissions:
contents: write