Skip to content

Commit

Permalink
chore: adjust e2e workflow triggers for accurate routing
Browse files Browse the repository at this point in the history
  • Loading branch information
adeldhis2 committed May 22, 2024
1 parent 7bbf1c6 commit 543fbbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 543fbbb

Please sign in to comment.