From 521f29a4e7ee4f001a19d5cfbabb57cef8fcc620 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 d5717c7..4a50782 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