From 4573677651b31e12ee03e3b883332fa6e82d53a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Szczerbi=C5=84ski?= Date: Tue, 26 Nov 2024 14:53:17 +0100 Subject: [PATCH] NO-SNOW: Cancel old workflows --- .github/workflows/build-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 51f90af704..ae11ecc52d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -10,6 +10,11 @@ on: branches: - '**' +concurrency: + # older builds for the same pull request numer or branch should be cancelled + cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + jobs: build-test-linux: name: Build-Test-Linux