From 905522ec0726f6ff74b895d11dd37e35f2ac1431 Mon Sep 17 00:00:00 2001 From: Taylor Addison Date: Sat, 24 Oct 2026 11:10:07 -0400 Subject: [PATCH] ci: the ci-ok job runs unless the run was cancelled (if: !cancelled()) always() also ran it on a run that concurrency cancel-in-progress had cancelled, and it failed on the cancelled jobs: a red check for a commit nobody was judging any more (taylab-launch-kit v1.40.4). It still runs when a job fails or times out. Co-Authored-By: Claude Opus 5.5 --- .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 98a62f5..32ac368 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,7 +182,10 @@ jobs: # Without this the gate inherits the default "only if every dependency # succeeded", which makes a skipped suite skip the gate -- and a skipped # required check never reports, which is the exact bug being fixed. - if: always() + # !cancelled(), not always(): a run that cancel-in-progress superseded has no + # verdict to give, and always() failed the gate on its cancelled jobs (kit v1.40.4). + # It still runs when a job fails or times out. + if: ${{ !cancelled() }} runs-on: ubuntu-latest steps: - name: Every suite green or skipped