Skip to content

Write HTML. Render video. Built for agents.

ci: subscribe to `edited` PR events so workflows re-fire after Graphite restacks (#429)

Vance Ingalls113f9eafd56f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4367c87df3..95855f55c7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,6 +2,12 @@ name: CI
on:
pull_request:
+ # `edited` is required so the workflow re-fires when a PR's base ref is
+ # set back to `main` after a Graphite stack restack momentarily flips
+ # the base off of `main`. Without it, `pull_request` triggers are not
+ # re-evaluated on `base_ref_changed`, leaving required checks skipped
+ # for that head SHA forever.
+ types: [opened, synchronize, reopened, edited]
branches: [main]
push:
branches: [main]
diff --git a/.github/workflows/windows-render.yml b/.github/workflows/windows-render.yml
index 01c178970a..2e7de5f2a9 100644
--- a/.github/workflows/windows-render.yml
+++ b/.github/workflows/windows-render.yml
@@ -8,6 +8,12 @@ name: Windows render verification
on:
pull_request:
+ # `edited` is required so the workflow re-fires when a PR's base ref is
+ # set back to `main` after a Graphite stack restack momentarily flips
+ # the base off of `main`. Without it, `pull_request` triggers are not
+ # re-evaluated on `base_ref_changed`, leaving required checks skipped
+ # for that head SHA forever.
+ types: [opened, synchronize, reopened, edited]
branches: [main]
push:
branches: [main]