diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml index 3970f1b73..106d19272 100644 --- a/.github/workflows/install.yaml +++ b/.github/workflows/install.yaml @@ -5,6 +5,11 @@ on: push: branches: - main + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: install: name: ${{ matrix.python_version }} install diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 8bcffc8d3..8ab8aecb0 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -5,6 +5,10 @@ on: pull_request: types: [opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: integration: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/minimum.yml b/.github/workflows/minimum.yml index 10ac72666..de032a13b 100644 --- a/.github/workflows/minimum.yml +++ b/.github/workflows/minimum.yml @@ -5,6 +5,10 @@ on: pull_request: types: [opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: minimum: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 55883f20a..3b4217b1b 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -5,6 +5,10 @@ on: pull_request: types: [opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: unit: runs-on: ${{ matrix.os }}