We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2376129 + 2b32364 commit 767422dCopy full SHA for 767422d
1 file changed
.mergify.yml
@@ -77,3 +77,23 @@ pull_request_rules:
77
actions:
78
merge:
79
method: merge
80
+
81
+ - name: Auto-rebase approved PRs that are behind
82
+ conditions:
83
+ - "-draft"
84
+ - "-conflict"
85
+ - "#commits-behind>0"
86
+ - "base=main"
87
+ - "#approved-reviews-by>=1"
88
+ actions:
89
+ rebase:
90
91
+ - name: Ping author on conflicts
92
93
+ - "conflict"
94
+ - "-closed"
95
96
+ comment:
97
+ message: |
98
+ This pull request has merge conflicts that must be resolved before it can be merged.
99
+ @{{ author }} please rebase your branch.
0 commit comments