cleanup: fix author in mergifyio backport conditions

All backport prs are authored by mergify[bot] not ceph-csi-bot
and there is no support for bot_account to create backport pr
currently.
Fixes: #1994

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R 2021-04-22 14:16:43 +05:30 committed by Madhu Rajanna
parent 6508726276
commit e005099549

View File

@ -91,7 +91,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v1.2.0 - name: automerge backport release-v1.2.0
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v1.2.0 - base=release-v1.2.0
- label!=DNM - label!=DNM
- "#changes-requested-reviews-by=0" - "#changes-requested-reviews-by=0"
@ -112,7 +112,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v2.0 - name: automerge backport release-v2.0
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v2.0 - base=release-v2.0
- label!=DNM - label!=DNM
- "#changes-requested-reviews-by=0" - "#changes-requested-reviews-by=0"
@ -133,7 +133,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v2.1 - name: automerge backport release-v2.1
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v2.1 - base=release-v2.1
- label!=DNM - label!=DNM
- "#changes-requested-reviews-by=0" - "#changes-requested-reviews-by=0"
@ -154,7 +154,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v3.0 - name: automerge backport release-v3.0
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v3.0 - base=release-v3.0
- label!=DNM - label!=DNM
- "#changes-requested-reviews-by=0" - "#changes-requested-reviews-by=0"
@ -175,7 +175,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v3.1 - name: automerge backport release-v3.1
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v3.1 - base=release-v3.1
- label!=DNM - label!=DNM
- "#changes-requested-reviews-by=0" - "#changes-requested-reviews-by=0"
@ -204,7 +204,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v3.2 - name: automerge backport release-v3.2
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v3.2 - base=release-v3.2
- label!=DNM - label!=DNM
- "#approved-reviews-by>=1" - "#approved-reviews-by>=1"
@ -239,7 +239,7 @@ pull_request_rules:
# automerge backports if CI successfully ran # automerge backports if CI successfully ran
- name: automerge backport release-v3.3 - name: automerge backport release-v3.3
conditions: conditions:
- author=ceph-csi-bot - author=mergify[bot]
- base=release-v3.3 - base=release-v3.3
- label!=DNM - label!=DNM
- "#approved-reviews-by>=1" - "#approved-reviews-by>=1"