Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ merge_protections:
if:
- base = main
success_conditions:
# Names no checks deliberately: a path-filtered workflow that does not run
# reports nothing, so an anchor naming it would pend forever.
# Do NOT add `#check-pending = 0`: merge protections count their own
# in-progress check, so the total never reaches zero and the gate
# deadlocks. Confirmed on #946 -- Mergify sat pending with an empty
# "waiting checks" list after every other check had finished.
#
# The cost is that this condition is vacuously true before CI starts,
# so the gate goes green while checks are still running (#943).
- "#check-failure = 0"
- "#check-pending = 0"

pull_request_rules:
- name: Auto-merge labelled PRs once every check is green
Expand Down