ci: subscribe to edited PR events so workflows re-fire after Graphite restacks#429
Merged
vanceingalls merged 1 commit intomainfrom Apr 23, 2026
Merged
ci: subscribe to edited PR events so workflows re-fire after Graphite restacks#429vanceingalls merged 1 commit intomainfrom
edited PR events so workflows re-fire after Graphite restacks#429vanceingalls merged 1 commit intomainfrom
Conversation
…te restacks 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`.
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
miguel-heygen
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Brief description of the change.
Why
Why is this change needed?
How
How was this implemented? Any notable design decisions?
Test plan
How was this tested?