diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f5745064..105322e0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -96,7 +96,7 @@ jobs: retention-days: 7 e2e-full: - if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' + if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.ref_name == github.event.repository.default_branch needs: build-and-unit runs-on: ubuntu-latest steps: