From 557777dd3777a6ac90ccf1610824e57ca7183550 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Fri, 15 Mar 2024 13:30:48 +0100 Subject: [PATCH] chore: CI: mark "Build matrix complete" as cancelled if builds cancelled (#3690) --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a45d3a271e..4f37c1d9c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -446,9 +446,10 @@ jobs: name: Build matrix complete runs-on: ubuntu-latest needs: build - if: ${{ always() }} + # mark as merely cancelled not failed if builds are cancelled + if: ${{ !cancelled() }} steps: - - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') + - if: contains(needs.*.result, 'failure') uses: actions/github-script@v7 with: script: |