Skip to content

Commit 081fe35

Browse files
committed
Cancel concurrent workflow runs
This prevents multiple pushes from blocking up the workflow runner queue
1 parent 810ae61 commit 081fe35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: build
22
on: [push, pull_request_target]
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
48
jobs:
59
test:
610
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)