ci: schedule e2e tests (#2098)

This commit is contained in:
Jinjing 2026-05-16 12:37:16 -07:00 committed by GitHub
parent 700b2a12f8
commit 85ad942954
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 9 deletions

View File

@ -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:

View File

@ -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 }}