aboutsummaryrefslogtreecommitdiff
path: root/.mergify.yml
diff options
context:
space:
mode:
Diffstat (limited to '.mergify.yml')
-rw-r--r--.mergify.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.mergify.yml b/.mergify.yml
index 1dd36b18..9b1328ba 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -39,3 +39,18 @@ pull_request_rules:
actions:
label:
add: [Backport]
+
+ - name: automatic squash-and-merge of backport PRs
+ conditions:
+ - status-success=continuous-integration/travis-ci/pr
+ - "#approved-reviews-by>=1"
+ - "#changes-requested-reviews-by=0"
+ - base=1.2.x
+ - label="Please Merge"
+ - label="Backport"
+ - label!="DO NOT MERGE"
+ actions:
+ merge:
+ method: squash
+ strict: smart
+ strict_method: merge