mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +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:
|
push:
|
||||||
branches: [staged]
|
branches: [staged]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: publish-to-main
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user