From 29a17595daa8ec93f76642cebdbcee6cfc81f5bc Mon Sep 17 00:00:00 2001 From: zwitschi Date: Tue, 28 Oct 2025 14:11:36 +0100 Subject: [PATCH] fix: Update E2E test workflow conditions and branch ignore settings --- .gitea/workflows/test-e2e.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test-e2e.yml b/.gitea/workflows/test-e2e.yml index 9b38e85..55152b5 100644 --- a/.gitea/workflows/test-e2e.yml +++ b/.gitea/workflows/test-e2e.yml @@ -1,6 +1,10 @@ name: Run E2E Tests on: + push: + branches-ignore: + - main + - refs/heads/main workflow_run: workflows: - Run Tests @@ -11,7 +15,10 @@ on: jobs: e2e: 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 container: mcr.microsoft.com/playwright/python:v1.55.0-jammy env: