Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit ac76a05

Browse files
authored
Merge pull request #338 from hugovk/cancel-builds-in-progress
Add concurrency so old workflows are cancelled in favour of new ones
2 parents ede54eb + 659c178 commit ac76a05

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/lint.yml

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

33
on: [push, pull_request, workflow_dispatch]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
lint:
711
runs-on: ubuntu-latest

.github/workflows/wheels.yml

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

33
on: [push, pull_request, workflow_dispatch]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
macos:
711
uses: ./.github/workflows/wheels-macos.yml

0 commit comments

Comments
 (0)