diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index ef3f4c8..66f5db5 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -8,6 +8,10 @@ on: - premerge/* - pre-merge +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: compute: uses: ./.github/workflows/compute.yml diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 4debb39..dca461c 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -2,6 +2,10 @@ name: 🏃 dev tests on: [ push, pull_request ] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: compute: uses: ./.github/workflows/compute.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd6d082..c9d8746 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: 🏃 tests on: [ push, pull_request, workflow_call ] concurrency: - group: ${{ github.head_ref || github.run_id }} + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: true jobs: