Skip to content

Commit 2100049

Browse files
committed
ci: GitHub Actions cancels old jobs if a new one is started.
1 parent 4686522 commit 2100049

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/tox_matrix.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
default: false
99
type: boolean
1010

11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
1117
name: Multi-platform Compatibility Test (Tox)
1218
jobs:
1319
build:

.github/workflows/wheels.yml

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

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
build_wheels:
711
name: Build wheels on ${{ matrix.os }}

0 commit comments

Comments
 (0)