From dabb602dd9a5060c474647fcee5809de02ef3902 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Fri, 7 Mar 2025 16:44:45 +0000 Subject: [PATCH] GHA: Don't notify after cancelled jobs --- .github/workflows/juce_private_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/juce_private_build.yml b/.github/workflows/juce_private_build.yml index 80763b6cca..d092c0f6b6 100644 --- a/.github/workflows/juce_private_build.yml +++ b/.github/workflows/juce_private_build.yml @@ -78,7 +78,7 @@ jobs: description: ${{ env.result }} targetUrl: ${{ env.target_url }} notify: - if: ${{ always() && inputs.nightly-targets == '[]' }} + if: ${{ always() && !contains(needs.*.result, 'cancelled') && inputs.nightly-targets == '[]' }} needs: [setup, build, deploy, docs] name: Notify uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master