From e3873ae92f2a8e1323fb6a0fa0412c455491fbdc Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 9 Oct 2026 11:37:20 -0400 Subject: [PATCH] CI: pushes to main no longer cancel the FreeBSD / Windows ARM64 run in progress Merges land faster than the hour-long FreeBSD job, so every main run was cancelled and main went unverified. Only PR pushes cancel now. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/freebsd.yml | 4 +++- .github/workflows/windows-arm64.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 9dc8fe0b..3630cdca 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -15,7 +15,9 @@ on: concurrency: group: freebsd-${{ github.ref }} - cancel-in-progress: true + # A push to main doesn't cancel the run in progress (the newest waiting run replaces older ones), + # so main gets complete runs however often it moves; PR pushes do cancel. + cancel-in-progress: ${{ github.event_name == 'pull_request' }} permissions: contents: read diff --git a/.github/workflows/windows-arm64.yml b/.github/workflows/windows-arm64.yml index 8f1aac5c..125cff3c 100644 --- a/.github/workflows/windows-arm64.yml +++ b/.github/workflows/windows-arm64.yml @@ -21,7 +21,9 @@ on: concurrency: group: windows-arm64-${{ github.ref }} - cancel-in-progress: true + # A push to main doesn't cancel the run in progress (the newest waiting run replaces older ones), + # so main gets complete runs however often it moves; PR pushes do cancel. + cancel-in-progress: ${{ github.event_name == 'pull_request' }} permissions: contents: read