diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4367c87d..95855f55 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 01c17897..2e7de5f2 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]