diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index 817e42b2b2..630de1b2c6 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -92,7 +92,7 @@ jobs: REPORTPORTAL_PROJECT: ${{ vars.REPORTPORTAL_PROJECT }} call-workflow-e2e-github-actions: - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[e2e record]') && !contains(join(github.event.pull_request.labels.*.name), 'e2e record')" needs: [build, lint, test, setup-matrix] uses: dhis2/workflows/.github/workflows/analytics-e2e-tests-github-actions.yml@update-cypress-setup with: @@ -106,7 +106,7 @@ jobs: reportportal_project: ${{ vars.REPORTPORTAL_PROJECT }} call-workflow-e2e-cypress-cloud: - if: "!contains(github.event.head_commit.message, '[skip ci]') && (contains(github.event.head_commit.message, '[e2e record]') || contains(join(github.event.pull_request.labels.*.name), 'e2e record'))" + if: "contains(github.event.head_commit.message, '[e2e record]') || contains(join(github.event.pull_request.labels.*.name), 'e2e record')" needs: [build, lint, test, setup-matrix] uses: dhis2/workflows/.github/workflows/analytics-e2e-tests-cypress-cloud.yml@update-cypress-setup secrets: