From 7f9be0d18bd35be7850e9edb05e52c74693527fb Mon Sep 17 00:00:00 2001 From: aliaksandrryzhou Date: Wed, 8 May 2024 10:58:38 +0300 Subject: [PATCH] feat(ci): Condition update for Slack Notification --- .github/workflows/reusable-web-e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"