Skip to content

Commit 673fbf1

Browse files
committed
build: use built-in workflow cancelling
1 parent 08b9db0 commit 673fbf1

File tree

6 files changed

+20
-25
lines changed

6 files changed

+20
-25
lines changed

.github/workflows/cancel.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/coverage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ env:
2222
permissions:
2323
contents: read
2424

25+
concurrency:
26+
group: "${{ github.workflow }}-${{ github.ref }}"
27+
cancel-in-progress: true
28+
2529
jobs:
2630
coverage:
2731
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"

.github/workflows/kit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ env:
4141
permissions:
4242
contents: read
4343

44+
concurrency:
45+
group: "${{ github.workflow }}-${{ github.ref }}"
46+
cancel-in-progress: true
47+
4448
jobs:
4549
wheels:
4650
name: "Build ${{ matrix.os }} ${{ matrix.py }} ${{ matrix.arch }} wheels"

.github/workflows/python-nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ env:
2525
permissions:
2626
contents: read
2727

28+
concurrency:
29+
group: "${{ github.workflow }}-${{ github.ref }}"
30+
cancel-in-progress: true
31+
2832
jobs:
2933
tests:
3034
name: "Python ${{ matrix.python-version }}"

.github/workflows/quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ env:
2121
permissions:
2222
contents: read
2323

24+
concurrency:
25+
group: "${{ github.workflow }}-${{ github.ref }}"
26+
cancel-in-progress: true
27+
2428
jobs:
2529
lint:
2630
name: "Pylint etc"

.github/workflows/testsuite.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ env:
2222
permissions:
2323
contents: read
2424

25+
concurrency:
26+
group: "${{ github.workflow }}-${{ github.ref }}"
27+
cancel-in-progress: true
28+
2529
jobs:
2630
tests:
2731
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"

0 commit comments

Comments
 (0)