← back to Cli Printing Press
fix(ci): allow queue drafts to skip Greptile
96bc822e27be1cf13f372cbf28f341d5e9a71539 · 2026-05-19 14:36:25 -0700 · Trevin Chow
Files touched
Diff
commit 96bc822e27be1cf13f372cbf28f341d5e9a71539
Author: Trevin Chow <trevin@trevinchow.com>
Date: Tue May 19 14:36:25 2026 -0700
fix(ci): allow queue drafts to skip Greptile
---
.mergify.yml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/.mergify.yml b/.mergify.yml
index 3f827704..7deb811b 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -14,9 +14,10 @@ queue_rules:
# silent-skips bot branches by design (Mergify confirmed this is
# expected), so requiring it here would block every queued PR.
#
- # merge_protections (further down) re-enforces Greptile + review-
- # threads against the source PR before the GitHub merge actually
- # happens, so the human-review gate isn't bypassed by speculation.
+ # merge_protections (further down) applies to both source PRs and the
+ # speculative draft PRs Mergify opens. Keep Greptile enforced on source
+ # PRs, but let queue draft branches rely on the CI-only merge_conditions
+ # below because Greptile intentionally skips those bot branches.
queue_conditions:
- base = main
# All Greptile/human inline review threads must be resolved before
@@ -107,6 +108,10 @@ merge_protections:
- check-success = pr-title
- check-success = test
- or:
+ # Mergify evaluates merge protections on its speculative draft PRs too.
+ # Greptile intentionally skips `mergify/merge-queue/*` branches, and
+ # source PRs already had to pass Greptile in queue_conditions.
+ - head ~= ^mergify/merge-queue/
- check-success = Greptile Review
- check-neutral = Greptile Review
- check-skipped = Greptile Review
← 019dcf3b chore(ci): enable parallel queue checks in Mergify (#1668)
·
back to Cli Printing Press
·
fix(ci): trust queued Greptile gate 9a474335 →