From abadbb48034b9b5390125d046c95b6233f575d74 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Date: Sun, 1 Oct 2023 20:12:54 +0200 Subject: [PATCH] enable concurrency for PRs Signed-off-by: Jorge Turrado --- .github/workflows/e2e-tests.yaml | 4 ++++ .github/workflows/images.yaml | 4 ++++ .github/workflows/linkinator.yaml | 4 ++++ .github/workflows/tests.yaml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index a31ef33a..3aabecb4 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -5,6 +5,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: e2e_tests: runs-on: ubuntu-latest diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index efad7ead..fc1279b3 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -3,6 +3,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build_scaler: runs-on: ubuntu-latest diff --git a/.github/workflows/linkinator.yaml b/.github/workflows/linkinator.yaml index 4ca8abdb..d57777aa 100644 --- a/.github/workflows/linkinator.yaml +++ b/.github/workflows/linkinator.yaml @@ -5,6 +5,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: linkinator: runs-on: ubuntu-20.04 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0e304154..8fb04e52 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,6 +5,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: validate: name: validate - ${{ matrix.name }}