Skip to content

Commit 40bc035

Browse files
committed
auto-cancel wheels CI if new run triggered on non-default branch
1 parent 3bcf497 commit 40bc035

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Wheels
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: ${{ github.ref_name != 'master' }}
6+
37
on:
48
push:
59
branches: [master]

0 commit comments

Comments
 (0)