From 7420e46beae379106a6f7cabaa6c9441abd38737 Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Thu, 16 May 2024 16:26:50 +0930 Subject: [PATCH] fix: Notify on Failure Contains function was backwards, issue with needs wildcard couldn't be replicated. Co-authored-by: HebaruSan --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69b32dd70..d267a30e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -198,7 +198,7 @@ jobs: steps: - name: Set Success run: echo "JOB_STATUS=success" >> $GITHUB_ENV - if: contains('failure', join(needs.*.result, ' ')) == false + if: contains(needs.*.result, 'failure') == false - name: Send Discord Notification env: WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}