]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mergify: Update with stable-4.0 branch
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 28 Mar 2019 13:49:46 +0000 (09:49 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 29 Mar 2019 09:26:23 +0000 (10:26 +0100)
Add action to backport commits to stable-4.0.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
.mergify.yml

index 75b3fdc3a88bb725aeaaaccb7f9806d1d3067baf..6d34d0ef0ede27c257cbd86d7ec67317f7d914f4 100644 (file)
@@ -62,6 +62,19 @@ pull_request_rules:
         strict: smart
       dismiss_reviews: {}
       delete_head_branch: {}
+  - name: automerge backport 4.0
+    conditions:
+      - author=mergify[bot]
+      - base=stable-4.0
+      - label!=DNM
+      - 'status-success=Testing: ceph-ansible PR Pipeline'
+    actions:
+      merge:
+        method: rebase
+        rebase_fallback: merge
+        strict: smart
+      dismiss_reviews: {}
+      delete_head_branch: {}
 # Backports
   - actions:
       backport:
@@ -84,3 +97,10 @@ pull_request_rules:
     conditions:
       - label=backport-stable-3.2
     name: backport stable-3.2
+  - actions:
+      backport:
+        branches:
+        - stable-4.0
+    conditions:
+      - label=backport-stable-4.0
+    name: backport stable-4.0