From 85ad94295439e6285f4e15ed2b91e3935fc86bca Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Sat, 16 May 2026 12:37:16 -0700 Subject: [PATCH] ci: schedule e2e tests (#2098) --- .github/workflows/e2e.yml | 10 ++++++++++ .github/workflows/pr.yml | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4278849b4..b1fcaf1f3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,6 +7,16 @@ on: description: Ref to check out (defaults to the calling workflow's ref) required: false type: string + workflow_dispatch: + inputs: + ref: + description: Ref to check out (defaults to the workflow ref) + required: false + type: string + schedule: + # Why: GitHub cron uses UTC; these slots map to 10am and 3pm + # America/Phoenix for the default-branch E2E run. + - cron: '0 17,22 * * *' jobs: build: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 22b332c1a..cfee0fe14 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -88,12 +88,3 @@ jobs: - name: Build run: pnpm build - - e2e: - uses: ./.github/workflows/e2e.yml - # Why: check out the PR head directly instead of refs/pull/N/merge. - # The merge ref doesn't exist when the PR has conflicts or GitHub - # hasn't computed the merge commit yet, causing checkout to fail - # for reasons unrelated to the code under test. - with: - ref: ${{ github.event.pull_request.head.sha }}