Skip to content

Commit f83c95e

Browse files
ci: add workflow concurrency (#96)
1 parent 51f6810 commit f83c95e

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,19 @@ name: CI
66

77
on:
88
pull_request:
9-
branches: [master]
10-
types: [opened, synchronize, reopened]
9+
branches:
10+
- master
11+
types:
12+
- opened
13+
- synchronize
14+
- reopened
1115
push:
12-
branches: [master]
16+
branches:
17+
- master
18+
19+
concurrency:
20+
group: "${{ github.workflow }}-${{ github.ref }}"
21+
cancel-in-progress: true
1322

1423
jobs:
1524
setup_release:

0 commit comments

Comments
 (0)