Skip to content

Commit 41eea52

Browse files
committed
ci: enable cancel-in-progress on concurrent run
1 parent 34625ec commit 41eea52

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22
name: ci
33

44
on:
5-
push:
6-
branches: [main]
75
pull_request:
6+
push:
7+
branches:
8+
- main
9+
- master
10+
- "releases/*"
811
workflow_dispatch:
912

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1017
permissions:
1118
contents: read
1219

0 commit comments

Comments
 (0)