Merge pull request #338 from hugovk/cancel-builds-in-progress

Add concurrency so old workflows are cancelled in favour of new ones
This commit is contained in:
Andrew Murray 2022-10-28 07:57:15 +11:00 committed by GitHub
commit ac76a0546a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,10 @@ name: Lint
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest

View File

@ -2,6 +2,10 @@ name: Wheels
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
macos:
uses: ./.github/workflows/wheels-macos.yml