Skip to content

Commit f1e0be1

Browse files
author
Manuel
committed
ci: Try to fix the condition #12
1 parent 4ea4513 commit f1e0be1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/cypress-e2e-tests.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ name: 'E2E Tests'
33

44
on:
55
workflow_run:
6-
workflows: [Tests, Format]
7-
types: [completed]
6+
workflows: ["Tests", "Format"]
7+
types:
8+
- completed
89

910
jobs:
1011
e2e-tests:
12+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1113
uses: ./.github/workflows/reusable__e2e-testing.yml
1214
with:
13-
COMMIT_HASH: ${{ github.sha }}
15+
COMMIT_HASH: ${{ github.event.workflow_run.head_sha }}

0 commit comments

Comments
 (0)