Skip to content

Commit 8852197

Browse files
committed
github-ci: cancel previous builds workflow for branch
On a push of the same branch, cancel the previous running builds.yml workflow.
1 parent 5b52096 commit 8852197

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/builds.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
SV_REPO:
1313
SV_BRANCH:
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
permissions: read-all
1620

1721
env:

0 commit comments

Comments
 (0)