]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mergify: add restriction on backport command
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 14 Jun 2022 07:54:10 +0000 (09:54 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 14 Jun 2022 08:02:19 +0000 (10:02 +0200)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
.mergify.yml

index 71377572d9b6505b95e2c55995e08b7e47565c37..33a2c1e8721f669d9e8f2b6f04ca615dc8964fde 100644 (file)
@@ -42,3 +42,8 @@ pull_request_rules:
     conditions:
       - label=backport-stable-6.0
     name: backport stable-6.0
+commands_restrictions:
+  backport:
+    conditions:
+    - base=main
+    - number<0