From 16a065bc8f3e723f9730498c3f854bb0890d92ac Mon Sep 17 00:00:00 2001 From: lkdvos Date: Thu, 29 Oct 2026 11:09:18 -0400 Subject: [PATCH] CI: don't fail ci-success on runs triggered by closing a PR Co-Authored-By: Claude Opus 5.5 --- .github/workflows/Tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 8f6d32c..13cb049 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -41,11 +41,12 @@ jobs: secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - # Single aggregate check for branch protection. + # Single aggregate check for branch protection, not reported for runs triggered by closing a PR + # (these only exist to cancel in-progress runs, and skip all tests). ci-success: name: "ci-success" needs: tests - if: always() + if: always() && github.event.action != 'closed' runs-on: ubuntu-latest steps: - name: "Check that all test jobs succeeded"