Skip to content

Commit 0ddb8bb

Browse files
committed
ci: add concurrency settings for CI workflow
1 parent 1343333 commit 0ddb8bb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ name: CI
22

33
on:
44
push:
5+
branches:
6+
- master
57
pull_request:
68
branches:
79
- master
810

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
915
jobs:
1016
build-and-test:
1117

0 commit comments

Comments
 (0)