From 18d01be84c9155676fa240c6cee1c9c2b84df497 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 24 Jun 2024 10:43:23 +0200 Subject: [PATCH] ci: cancel outdated kubernetes tests workflows (#635) Cancel outdated Kubernetes tests workflows, as they take a long time and it does not make sens to wait for each run to complete. --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c072396f..3345e0e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,9 @@ jobs: permissions: id-token: write - concurrency: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.k3s }} + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.k3s }} + cancel-in-progress: true strategy: fail-fast: false # Continue tests matrix if a flaky run occur.