From e321b4ee5f8bcdd96501d00804da87e218b5d786 Mon Sep 17 00:00:00 2001 From: Fred Tingaud <95592999+frederic-tingaud-sonarsource@users.noreply.github.com> Date: Tue, 22 Sep 2026 14:54:33 +0200 Subject: [PATCH] Make concurrency queueing explicit (CLP-959) queue defaults to single, so a pending run is silently cancelled when a third run joins the group even with cancel-in-progress: false. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96acf194..64df9b42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} + queue: ${{ (github.ref_name != github.event.repository.default_branch) && 'single' || 'max' }} jobs: build: