Invert failure bool for notify

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-22 10:51:51 +02:00 committed by Jelle Spijker
parent fdbac4cccb
commit 46929ad302

View File

@ -43,7 +43,7 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
- name: Slack notify on-failure
if: ${{ inputs.success }}
if: ${{ !inputs.success }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_USERNAME: ${{ github.repository }}