diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index 45563e589b..8cb832d897 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -393,7 +393,7 @@ jobs: # In case of second attempt only run failed specs - name: Run the cypress test with failed tests - if: steps.run_result.outputs.run_result == 'failedtest' + if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != '' id: cypress_test_failedtest uses: cypress-io/github-action@v5 env: diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml index 6ce21e9098..5c062619ff 100644 --- a/.github/workflows/ci-test-hosted.yml +++ b/.github/workflows/ci-test-hosted.yml @@ -329,7 +329,7 @@ jobs: # In case of second attempt only run failed specs - name: Run the cypress test with failed tests - if: steps.run_result.outputs.run_result == 'failedtest' + if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != '' id: cypress_test_failedtest uses: cypress-io/github-action@v5 env: diff --git a/.github/workflows/ci-test-limited.yml b/.github/workflows/ci-test-limited.yml index 173548f7d3..a6a7e44b2c 100644 --- a/.github/workflows/ci-test-limited.yml +++ b/.github/workflows/ci-test-limited.yml @@ -438,7 +438,7 @@ jobs: # In case of second attempt only run failed specs - name: Run the cypress test with failed tests id: cypress_test_failedtest - if: steps.run_result.outputs.run_result == 'failedtest' + if: steps.run_result.outputs.run_result == 'failedtest' && env.failed_spec_env != '' uses: cypress-io/github-action@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}