Merge pull request #1927 from Molecule-AI/feat/ci/e2e-canvas-staging-trigger

feat(ci): run E2E Staging Canvas on staging branch pushes
This commit is contained in:
Hongming Wang 2026-04-24 07:01:19 +00:00 committed by GitHub
commit 23e329aa4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,18 +5,21 @@ name: E2E Staging Canvas (Playwright)
# e2e-staging-saas.yml (which tests the API shape) by exercising the
# actual browser + canvas bundle against live staging.
#
# Triggers: push to main or PR touching canvas sources + this workflow,
# Triggers: push to main/staging or PR touching canvas sources + this workflow,
# manual dispatch, and weekly cron to catch browser/runtime drift even
# when canvas is quiet.
# Added staging to push/pull_request branches so the auto-promote gate
# check (--event push --branch staging) can see a completed run for this
# workflow — mirrors what PR #1891 does for e2e-api.yml.
on:
push:
branches: [main]
branches: [main, staging]
paths:
- 'canvas/**'
- '.github/workflows/e2e-staging-canvas.yml'
pull_request:
branches: [main]
branches: [main, staging]
paths:
- 'canvas/**'
- '.github/workflows/e2e-staging-canvas.yml'