From a6677132c5194568bae928c3a5e586c2b00ab686 Mon Sep 17 00:00:00 2001 From: Denis Gnusov Date: Thu, 23 Jan 2025 18:03:27 +0200 Subject: [PATCH] dummy job --- .github/workflows/robot-ui-e2e-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/robot-ui-e2e-tests.yml b/.github/workflows/robot-ui-e2e-tests.yml index a7b6c2f05d..3853e5fbab 100644 --- a/.github/workflows/robot-ui-e2e-tests.yml +++ b/.github/workflows/robot-ui-e2e-tests.yml @@ -35,11 +35,11 @@ jobs: run: exit 1 - name: Retry Failed Step - if: steps.failed_step.outcome != 'success' + if: always() && steps.failed_step.outcome != 'success' run: echo "Retry Failed Step" - name: Notify Slack on Failure - if: failure() == false && github.event_name == env.SCHEDULE_EVENT_NAME + if: failure() && github.event_name == 'workflow_dispatch' uses: slackapi/slack-github-action@v1.26.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} @@ -48,7 +48,7 @@ jobs: slack-message: "❌Scheduled ${{github.job}} on the ${{ github.repository }} repository failed. Manual intervention is required! \n*Details*: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" - name: Notify Slack on Success - if: failure() && github.event_name == env.SCHEDULE_EVENT_NAME + if: failure() == false && github.event_name == 'workflow_dispatch' uses: slackapi/slack-github-action@v1.26.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}