From 543fbbb41fd1d970fb620b1d51f02bc6f2409c74 Mon Sep 17 00:00:00 2001 From: Adel Bensaad Date: Wed, 22 May 2024 11:31:49 +0100 Subject: [PATCH] chore: adjust e2e workflow triggers for accurate routing --- .github/workflows/dhis2-verify-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: