Skip to content

Commit

Permalink
fix: Notify on Failure
Browse files Browse the repository at this point in the history
Contains function was backwards, issue with needs wildcard couldn't be replicated.

Co-authored-by: HebaruSan <[email protected]>
  • Loading branch information
techman83 and HebaruSan authored May 16, 2024
1 parent c30b4e2 commit 7420e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 7420e46

Please sign in to comment.