mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
05b135ceda
Workflows that gate `pull_request` on `branches: [main]` are silently skipped for the head-ref push that `gt submit` makes during a stack restack: Graphite momentarily flips the PR's base off of `main` before resetting it back, and GitHub does not re-evaluate `pull_request` triggers on `base_ref_changed` events with the default activity types. The result: required checks (Build, Typecheck, Test: runtime contract, Windows render, Windows tests, Semantic PR title) never run for that head SHA and the PR sits in BLOCKED forever — even when the head matches a green commit on `main`. PR #396 hit this exact pattern after #426 added the `branches: [main]` filters. Adding `edited` to the activity types causes the workflow to re-fire when the base is set back to `main`. The existing `branches: [main]` filter still rejects intermediate stack PRs, preserving #426's intent of skipping CI on stack PRs that aren't yet targeting `main`.