mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 10:25:13 +00:00
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:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -4,6 +4,10 @@ on:
|
||||
push:
|
||||
branches: [staged]
|
||||
|
||||
concurrency:
|
||||
group: publish-to-main
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
||||
Reference in New Issue
Block a user