Skip to content

Commit e1e0ee3

Browse files
authored
fix(mergify): disable speculative checks to prevent race conditions (#4869)
This change sets `max_parallel_checks` to 1 in the Mergify configuration to ensure that Mergify doesn't use speculative PRs when evaluating mergeability. While these speculative PRs are a good idea in principle, they tend to fail against our PR validation rules, e.g. #4868. The simple fix is to not use them. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
1 parent 36c22e1 commit e1e0ee3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.mergify/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# See https://doc.mergify.io
2+
merge_queue:
3+
# Ensure Mergify doesn't use speculative PRs to evaluate mergeability
4+
max_parallel_checks: 1
25
queue_rules:
36
- name: default-squash
47
conditions:

0 commit comments

Comments
 (0)