Skip to content

Commit c64921b

Browse files
committed
[ci] Cancel in progress build
Cancel in progress build when new code is pushed.
1 parent 217b21b commit c64921b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
concurrency:
10+
group: build-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014

1115
all:

0 commit comments

Comments
 (0)