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 committed May 17, 2024
1 parent e53c3a0 commit 5b6d0c8
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 @@ -194,7 +194,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 5b6d0c8

Please sign in to comment.