diff --git a/.github/workflows/reusable-web-e2e.yml b/.github/workflows/reusable-web-e2e.yml index ab728928e52..65a31c2913e 100644 --- a/.github/workflows/reusable-web-e2e.yml +++ b/.github/workflows/reusable-web-e2e.yml @@ -202,7 +202,7 @@ jobs: - name: Notify Slack Action uses: ravsamhq/notify-slack-action@v2 - if: ${{ always() && inputs.slack_notification }} && ${{ needs.e2e_web.result == 'failure' }} + if: ${{ inputs.slack_notification && needs.e2e_web.result == 'failure' }} with: status: "failure" notification_title: "{workflow} for WEB has failed"