Skip to content

Commit

Permalink
ci: use ceph-csi-bot account for merging PRs
Browse files Browse the repository at this point in the history
Currently the "@Mergifyio rebase" commands uses a random person from the
GitHub organization that owns the repository. This is rather confusing
and ugly. With this change, alls rebase/merge actions are done with the
ceph-csi-bot account that also posts the result of jobs in the CentOS CI.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
  • Loading branch information
nixpanic authored and Madhu-1 committed Aug 17, 2020
1 parent 738b5a1 commit aa5b53f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
pull_request_rules:
- name: rebase on request
conditions: []
actions:
rebase:
bot_account: ceph-csi-bot
- name: remove outdated approvals
conditions:
- base=master
Expand Down Expand Up @@ -31,6 +36,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: automatic merge PR having ready-to-merge label
Expand All @@ -53,6 +59,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: backport patches to release v1.2.0 branch
Expand All @@ -77,6 +84,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: backport patches to release-v2.0 branch
Expand All @@ -101,6 +109,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: backport patches to release-v2.1 branch
Expand All @@ -125,6 +134,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: backport patches to release-v3.0 branch
Expand All @@ -149,6 +159,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: backport patches to release-v3.1 branch
Expand Down Expand Up @@ -206,6 +217,7 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}
- name: automatic merge PR having ready-to-merge label on ci/centos
Expand All @@ -224,5 +236,6 @@ pull_request_rules:
method: rebase
rebase_fallback: merge
strict: smart
bot_account: ceph-csi-bot
dismiss_reviews: {}
delete_head_branch: {}

0 comments on commit aa5b53f

Please sign in to comment.