From 24f6f1bab8c56ed7851bfb11e945506354eeb00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sat, 28 Nov 2026 08:34:10 +0100 Subject: [PATCH] ci: cancel superseded CI runs of a pull request A new push makes the results of the previous run irrelevant, so finishing it only occupies runners and delays feedback on the current commit. The Build workflow keeps queueing, because its runs on main and tags publish packages and must not be cut short. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67f723e..41fed16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: pull_request: branches: [ main ] +concurrency: + group: ci-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: unit-tests: name: "Unit tests"