diff --git a/.github/workflows/e2e-validation.yml b/.github/workflows/e2e-validation.yml index d7d26cd644..808f8c3c89 100644 --- a/.github/workflows/e2e-validation.yml +++ b/.github/workflows/e2e-validation.yml @@ -127,7 +127,7 @@ jobs: runs-on: ubuntu-latest needs: cypress-tests environment: ${{ inputs.environment }} - if: ${{ failure() }} && github.ref == 'refs/heads/main' }} + if: ${{ failure() && github.ref == 'refs/heads/main' }} steps: - name: Download all artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/run-api-test.yml b/.github/workflows/run-api-test.yml index 93fd158ff1..c402f02fb2 100644 --- a/.github/workflows/run-api-test.yml +++ b/.github/workflows/run-api-test.yml @@ -145,7 +145,7 @@ jobs: runs-on: ubuntu-latest needs: api-test environment: ${{ inputs.environment }} - if: ${{ failure() }} && github.ref == 'refs/heads/main' }} + if: ${{ failure() && github.ref == 'refs/heads/main' }} steps: - name: Download all artifacts uses: actions/download-artifact@v4