Skip to content

Commit 60381a7

Browse files
committed
ci(build): cancel in progress runs on PRs
1 parent f742427 commit 60381a7

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
@@ -3,6 +3,10 @@ on:
33
- pull_request
44
- push
55

6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
9+
610
jobs:
711
Lint:
812
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)