From 375cefbc82075a2cf7ccc9f24ac9a5c36f484724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8jlund=20Larsen?= Date: Tue, 22 Aug 2023 11:30:56 +0200 Subject: [PATCH] Update .github/workflows/cppcheck.yml to be concurrent --- .github/workflows/cppcheck.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index fa2ac4c..cf441bc 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -14,3 +14,8 @@ concurrency: concurrency: group: ${{ github.workflow }}-${{ github.ref || github.run_id }} cancel-in-progress: true + +# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} + cancel-in-progress: true