← back to Cli Printing Press
ci: exempt release-please PRs from Greptile review requirement (#1340)
3b283e04b98ad4cd3f48b00680876f1800f9f2c6 · 2026-05-13 15:47:31 -0700 · Trevin Chow
release-please PRs (head `release-please--branches--main`, title
matching `chore(main): release …`) are auto-generated changelog +
version bumps. Greptile reliably silent-skips them — it never posts a
`Greptile Review` check-run at all — which causes the existing Mergify
rule (`check-success | check-neutral | check-skipped = Greptile Review`)
to never satisfy, blocking the `Mergify Merge Protections` check
in-progress indefinitely. PR #1261 is the latest example.
Add a fourth branch to both the `queue_rules.queue_conditions` and the
`merge_protections.success_conditions` Greptile sub-rules: an
`and:` match on the release-please head + title. The other CI gates
(`build-and-test`, `generated-test`, `go-lint`, `golden`, `pr-title`,
`test`) still apply to release PRs — only the Greptile requirement is
relaxed for this specific PR class, where AI code review adds no value.
Files touched
Diff
commit 3b283e04b98ad4cd3f48b00680876f1800f9f2c6
Author: Trevin Chow <trevin@trevinchow.com>
Date: Wed May 13 15:47:31 2026 -0700
ci: exempt release-please PRs from Greptile review requirement (#1340)
release-please PRs (head `release-please--branches--main`, title
matching `chore(main): release …`) are auto-generated changelog +
version bumps. Greptile reliably silent-skips them — it never posts a
`Greptile Review` check-run at all — which causes the existing Mergify
rule (`check-success | check-neutral | check-skipped = Greptile Review`)
to never satisfy, blocking the `Mergify Merge Protections` check
in-progress indefinitely. PR #1261 is the latest example.
Add a fourth branch to both the `queue_rules.queue_conditions` and the
`merge_protections.success_conditions` Greptile sub-rules: an
`and:` match on the release-please head + title. The other CI gates
(`build-and-test`, `generated-test`, `go-lint`, `golden`, `pr-title`,
`test`) still apply to release PRs — only the Greptile requirement is
relaxed for this specific PR class, where AI code review adds no value.
---
.mergify.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.mergify.yml b/.mergify.yml
index 853f1874..fa4bb0bb 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -19,6 +19,11 @@ queue_rules:
- check-success = Greptile Review
- check-neutral = Greptile Review
- check-skipped = Greptile Review
+ # release-please PRs are auto-generated changelog + version bumps;
+ # Greptile reliably silent-skips them so no check-run is ever posted.
+ - and:
+ - head = release-please--branches--main
+ - "title ~= ^chore\\(main\\): release"
merge_method: squash
update_method: rebase
# OSS plan: batch_size and max_parallel_checks must both be 1.
@@ -56,3 +61,8 @@ merge_protections:
- check-success = Greptile Review
- check-neutral = Greptile Review
- check-skipped = Greptile Review
+ # release-please PRs are auto-generated changelog + version bumps;
+ # Greptile reliably silent-skips them so no check-run is ever posted.
+ - and:
+ - head = release-please--branches--main
+ - "title ~= ^chore\\(main\\): release"
← 69cefbe9 fix(cli): propagate --timeout to surf transport ResponseHead
·
back to Cli Printing Press
·
chore(main): release 4.6.0 (#1261) a0fac288 →