From 95f4810f5d409fad70d1b92d8df04730f80e67b7 Mon Sep 17 00:00:00 2001 From: Grische Date: Mon, 28 Oct 2024 10:45:32 +0100 Subject: [PATCH] github: cancel obsolete in-progress workflows Based on https://github.com/freifunk-gluon/gluon/commit/1523a2f4deb566004ac41e369209ec015fbfaf79 Co-Authored-By: Tom Herbers --- .github/workflows/firmware.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index 2ae72e8..c0a694b 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -14,6 +14,10 @@ on: - '.github/workflows/backport.yml' - 'contrib/sign.sh' +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + jobs: generate_target_matrix: runs-on: ubuntu-latest