From 5bb0bd7d08b3748cb2e86b6fe0fa59cdf0cdf0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Szczerbi=C5=84ski?= Date: Wed, 27 Nov 2024 07:06:20 +0100 Subject: [PATCH] NO-SNOW: Cancel old workflows (#783) --- .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