From aadb3e129a91c9babbc85bec5b9d76d7c341124f Mon Sep 17 00:00:00 2001 From: David Perl Date: Thu, 29 Jan 2026 14:27:34 +0100 Subject: [PATCH] ci: cancel previous CI run for PR or branch --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 693a3a54..5570667a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,10 @@ on: required: false type: string +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + permissions: pull-requests: write