diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 387de97e..6be5b8de 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -2,6 +2,11 @@ name: Linux on: push: pull_request: + +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true + jobs: build: name: Build & Test diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9438f734..47b1a504 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -2,6 +2,11 @@ name: Windows on: push: pull_request: + +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true + jobs: build: name: Build & Test