From 5a850502307c4881645f0714479cbe66b84d6731 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Mon, 27 Jul 2026 16:55:18 -0700 Subject: [PATCH] fix: give the nightly schedule its own CI concurrency group cursor[bot]: the schedule run shared github.ref with pushes to main, so cancel-in-progress let the nightly full matrix and a main push cancel each other. Scheduled runs now use a dedicated group. This work was produced with AI assistance (Claude Code). Co-Authored-By: Claude Code --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff7e534e6..ba39f83f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,10 @@ on: - cron: '0 7 * * *' concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + # Scheduled runs get their own group: the 07:00 UTC nightly and a push to + # main share github.ref, and cancel-in-progress would let them kill each + # other mid-run. + group: ${{ github.workflow }}-${{ github.event_name == 'schedule' && 'nightly' || github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: