Skip to content

Commit c5f4736

Browse files
Merge pull request #96 from loss-and-quick/ci/nightly-concurrency-per-branch
ci(nightly): scope concurrency per branch
2 parents a59b7ba + c7038cd commit c5f4736

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ on:
88
permissions:
99
contents: write
1010

11+
# Per-ref: a newer run on the same branch supersedes the older one, but nightly
12+
# runs on different branches don't fight over one global slot (a static group
13+
# cancelled whichever started second — see two manual dispatches racing).
1114
concurrency:
12-
group: nightly
15+
group: nightly-${{ github.ref }}
1316
cancel-in-progress: true
1417

1518
jobs:

0 commit comments

Comments
 (0)