From 46929ad3028826eabff4dd5c95f322de4550e0e3 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Wed, 22 Jun 2022 10:51:51 +0200 Subject: [PATCH] Invert failure bool for notify Contributes to CURA-9365 --- .github/workflows/notify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index 973f8eca36..3d421905d0 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -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 }}