diff --git a/.github/workflows/ci-cd-trigger.yml b/.github/workflows/ci-cd-trigger.yml index bdb570d9b..b6067a781 100644 --- a/.github/workflows/ci-cd-trigger.yml +++ b/.github/workflows/ci-cd-trigger.yml @@ -200,6 +200,7 @@ jobs: uses: ./.github/workflows/cypress-run.yml secrets: inherit with: + if: ${{ needs.build-sources.outputs.projects-e2e }} != null projects: ${{ needs.build-sources.outputs.projects-e2e }} tags: '@smoke' diff --git a/.github/workflows/cypress-run.yml b/.github/workflows/cypress-run.yml index 7b220fcf1..8759a68df 100644 --- a/.github/workflows/cypress-run.yml +++ b/.github/workflows/cypress-run.yml @@ -35,11 +35,10 @@ jobs: run: echo ${{ steps.step.outputs.runner }} e2e: - if: ${{ fromJSON(inputs.projects) != null}} then strategy: fail-fast: false matrix: - run: echo ${{ fromJSON(inputs.projects) }} + run: echo ${{ fromJSON(inputs.projects) }} project: ${{ fromJSON(inputs.projects) }} name: ${{ matrix.project }} needs: runner-choice