From d48325f9b9b052b509f0e6decea2ab2058f5d15a Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 30 Nov 2023 14:20:01 +0100 Subject: [PATCH] cancel other running tests when a new push happens --- .github/workflows/container.yml | 4 ++++ .github/workflows/js_tests.yml | 4 ++++ .github/workflows/plugins_react_tests.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 150d2d1f84c..cc313b839ae 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -5,6 +5,10 @@ on: pull_request permissions: contents: read +concurrency: + group: ${{ github.ref_name }}-${{ github.workflow }} + cancel-in-progress: true + jobs: container: runs-on: ubuntu-latest diff --git a/.github/workflows/js_tests.yml b/.github/workflows/js_tests.yml index 1083b2608b4..7501009fb3e 100644 --- a/.github/workflows/js_tests.yml +++ b/.github/workflows/js_tests.yml @@ -11,6 +11,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.ref_name }}-${{ github.workflow }} + cancel-in-progress: true + jobs: setup_matrix: name: Setup matrix diff --git a/.github/workflows/plugins_react_tests.yml b/.github/workflows/plugins_react_tests.yml index 90c82bad8f9..09615b630b2 100644 --- a/.github/workflows/plugins_react_tests.yml +++ b/.github/workflows/plugins_react_tests.yml @@ -12,6 +12,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.ref_name }}-${{ github.workflow }} + cancel-in-progress: true + jobs: setup_matrix: name: Setup matrix