From 24f1170c29d6251295f3f42e3427e1391e6b7e78 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Wed, 22 Jun 2022 08:02:19 +0200 Subject: [PATCH] treat input success and failure as boolean Contributes to CURA-9365 --- .github/workflows/notify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index 6f8beecd02..973f8eca36 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Slack notify on-success - if: ${{ inputs.success == 'true' }} + if: ${{ inputs.success }} uses: rtCamp/action-slack-notify@v2 env: SLACK_USERNAME: ${{ github.repository }} @@ -43,7 +43,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - name: Slack notify on-failure - if: ${{ inputs.success == 'false' }} + if: ${{ inputs.success }} uses: rtCamp/action-slack-notify@v2 env: SLACK_USERNAME: ${{ github.repository }}