From da81c096bdd3dab0da919484fa5bf9c4e7e8c827 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 18 Aug 2022 20:03:28 +0200 Subject: [PATCH] ci: add concurrency check Signed-off-by: CrazyMax --- .github/workflows/build.yml | 4 ++++ .github/workflows/e2e.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ .github/workflows/validate.yml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 485184dcdc..b1f7e65a96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,9 @@ name: build +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: workflow_dispatch: push: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3ebe3ef497..2c36dac447 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,5 +1,9 @@ name: e2e +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: workflow_dispatch: push: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d110846c3..b32bd53819 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,9 @@ name: test +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: workflow_dispatch: push: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 4f78544a80..1f8fbd739d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,5 +1,9 @@ name: validate +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: workflow_dispatch: push: