From 4d91a4139836510cac6720aa65ef55f90a8af219 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Mon, 5 Oct 2026 22:30:31 -0400 Subject: [PATCH 1/2] fix(ci): keep main runs from being cancelled Signed-off-by: Yordis Prieto --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66963b1..781569f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,10 @@ on: permissions: {} concurrency: - group: ci-${{ github.ref }} - cancel-in-progress: true + # A merged pull request reports the base branch as its ref, so keying on the + # number keeps a late label event from cancelling the run on main. + group: ci-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: # The repository picks its own runner with the action it ships, so a change to From 4303f30d9e9ec713acc2d28a1bcd978b9af06453 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Mon, 5 Oct 2026 22:34:45 -0400 Subject: [PATCH 2/2] fix(ci): give every main push its own concurrency group Signed-off-by: Yordis Prieto --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 781569f..131bc50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,10 @@ permissions: {} concurrency: # A merged pull request reports the base branch as its ref, so keying on the - # number keeps a late label event from cancelling the run on main. - group: ci-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: ${{ github.event_name == 'pull_request' }} + # number keeps a late label event from cancelling the run on main. Each push + # gets its own group because a group holds only one pending run. + group: ci-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true jobs: # The repository picks its own runner with the action it ships, so a change to