From 70c3d79d2165e3044f981bf709ec4a599ffdeb2d Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Mon, 25 Mar 2024 15:46:08 -0600 Subject: [PATCH] ci/tests: fix tests-matrix cancellation --- .github/workflows/.tests-matrix.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/.tests-matrix.yaml b/.github/workflows/.tests-matrix.yaml index f2d931d47b5..8e7758fc77c 100644 --- a/.github/workflows/.tests-matrix.yaml +++ b/.github/workflows/.tests-matrix.yaml @@ -18,6 +18,10 @@ on: required: true type: boolean +concurrency: + group: ${{ github.workflow }}.tests-matrix-${{ github.head_ref || github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + defaults: run: shell: bash