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 }}