fix: Update E2E test workflow conditions and branch ignore settings
Some checks failed
Run Tests / Lint (push) Has been cancelled
Run Tests / Unit Tests (push) Has been cancelled
Run E2E Tests / E2E Tests (push) Has been cancelled

This commit is contained in:
2025-10-28 14:11:36 +01:00
parent f1afcaa78b
commit 29a17595da

View File

@@ -1,6 +1,10 @@
name: Run E2E Tests name: Run E2E Tests
on: on:
push:
branches-ignore:
- main
- refs/heads/main
workflow_run: workflow_run:
workflows: workflows:
- Run Tests - Run Tests
@@ -11,7 +15,10 @@ on:
jobs: jobs:
e2e: e2e:
name: E2E Tests name: E2E Tests
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'refs/heads/main')) }} if: ${{ github.event_name == 'workflow_dispatch' ||
github.event_name == 'push' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' &&
(github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'refs/heads/main')) }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: mcr.microsoft.com/playwright/python:v1.55.0-jammy container: mcr.microsoft.com/playwright/python:v1.55.0-jammy
env: env: