2019-03-22 05:27:56 +00:00
|
|
|
---
|
2021-03-01 07:46:47 +00:00
|
|
|
defaults:
|
|
|
|
actions:
|
|
|
|
comment:
|
|
|
|
bot_account: ceph-csi-bot
|
|
|
|
merge:
|
2021-04-15 11:56:59 +00:00
|
|
|
bot_account: ceph-csi-bot
|
2021-03-01 07:51:03 +00:00
|
|
|
method: rebase
|
|
|
|
rebase_fallback: merge
|
|
|
|
strict: smart
|
|
|
|
strict_method: rebase
|
2021-03-01 07:46:47 +00:00
|
|
|
rebase:
|
|
|
|
bot_account: ceph-csi-bot
|
|
|
|
|
2019-01-31 17:03:31 +00:00
|
|
|
pull_request_rules:
|
2019-09-02 11:45:21 +00:00
|
|
|
- name: remove outdated approvals
|
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2019-09-02 11:45:21 +00:00
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
approved: true
|
|
|
|
changes_requested: false
|
2020-05-14 10:45:01 +00:00
|
|
|
- name: ask to resolve conflict
|
|
|
|
conditions:
|
|
|
|
- conflict
|
|
|
|
actions:
|
|
|
|
comment:
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
message: "This pull request now has conflicts with the target branch.
|
|
|
|
Could you please resolve conflicts and force push the corrected
|
|
|
|
changes? 🙏"
|
2019-01-31 17:03:31 +00:00
|
|
|
- name: automatic merge
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2019-09-27 08:27:13 +00:00
|
|
|
- "#approved-reviews-by>=2"
|
2019-09-27 08:31:52 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
2020-11-30 03:38:24 +00:00
|
|
|
- "status-success=codespell"
|
2020-12-01 14:17:24 +00:00
|
|
|
- "status-success=multi-arch-build"
|
2020-12-07 07:29:24 +00:00
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=gosec"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
2020-10-27 11:00:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
2020-10-27 11:00:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
2020-10-19 09:29:16 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2020-05-06 05:50:13 +00:00
|
|
|
- "status-success=DCO"
|
2019-01-31 17:03:31 +00:00
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2019-01-31 17:03:31 +00:00
|
|
|
dismiss_reviews: {}
|
2020-05-15 08:25:09 +00:00
|
|
|
delete_head_branch: {}
|
|
|
|
- name: automatic merge PR having ready-to-merge label
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
|
|
|
- label=ready-to-merge
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2020-05-15 08:25:09 +00:00
|
|
|
- "#approved-reviews-by>=1"
|
2020-11-30 03:38:24 +00:00
|
|
|
- "status-success=codespell"
|
2020-12-01 14:17:24 +00:00
|
|
|
- "status-success=multi-arch-build"
|
2020-12-07 07:29:24 +00:00
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=gosec"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
2020-05-15 08:25:09 +00:00
|
|
|
- "#changes-requested-reviews-by=0"
|
2020-10-27 11:00:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
2020-10-27 11:00:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
2020-09-28 12:53:51 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2020-05-15 08:25:09 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-05-15 08:25:09 +00:00
|
|
|
dismiss_reviews: {}
|
2019-01-31 17:03:31 +00:00
|
|
|
delete_head_branch: {}
|
2020-01-20 11:05:47 +00:00
|
|
|
- name: backport patches to release v1.2.0 branch
|
2019-09-26 07:40:04 +00:00
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2019-09-26 07:40:04 +00:00
|
|
|
- label=backport-to-release-v1.2.0
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v1.2.0
|
2019-09-27 08:20:12 +00:00
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v1.2.0
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2019-09-27 08:20:12 +00:00
|
|
|
- base=release-v1.2.0
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2019-09-27 08:20:12 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-01-20 11:05:47 +00:00
|
|
|
- name: backport patches to release-v2.0 branch
|
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2020-01-20 11:05:47 +00:00
|
|
|
- label=backport-to-release-v2.0
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v2.0
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v2.0
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2020-01-20 11:05:47 +00:00
|
|
|
- base=release-v2.0
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-01-20 11:05:47 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-04-15 02:31:15 +00:00
|
|
|
- name: backport patches to release-v2.1 branch
|
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2020-04-15 02:31:15 +00:00
|
|
|
- label=backport-to-release-v2.1
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v2.1
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v2.1
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2020-04-15 02:31:15 +00:00
|
|
|
- base=release-v2.1
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-04-15 02:31:15 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-07-27 03:13:02 +00:00
|
|
|
- name: backport patches to release-v3.0 branch
|
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2020-07-27 03:13:02 +00:00
|
|
|
- label=backport-to-release-v3.0
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.0
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v3.0
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2020-07-27 03:13:02 +00:00
|
|
|
- base=release-v3.0
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-07-27 03:13:02 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-08-12 05:37:08 +00:00
|
|
|
- name: backport patches to release-v3.1 branch
|
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2020-08-12 05:37:08 +00:00
|
|
|
- label=backport-to-release-v3.1
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.1
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v3.1
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2020-08-12 05:37:08 +00:00
|
|
|
- base=release-v3.1
|
|
|
|
- label!=DNM
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "#approved-reviews-by>=1"
|
2020-12-01 14:17:24 +00:00
|
|
|
- "status-success=multi-arch-build"
|
2020-08-12 05:37:08 +00:00
|
|
|
- "status-success=continuous-integration/travis-ci/pr"
|
2020-10-27 11:00:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
2020-10-27 11:00:39 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
2020-09-28 12:53:51 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
2020-08-12 05:37:08 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-08-12 05:37:08 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-12-08 07:02:27 +00:00
|
|
|
- name: backport patches to release-v3.2 branch
|
|
|
|
conditions:
|
2021-02-25 08:20:22 +00:00
|
|
|
- base=devel
|
2020-12-08 07:02:27 +00:00
|
|
|
- label=backport-to-release-v3.2
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.2
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v3.2
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2020-12-08 07:02:27 +00:00
|
|
|
- base=release-v3.2
|
|
|
|
- label!=DNM
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=gosec"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
2020-12-08 07:02:27 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.19"
|
2020-12-17 16:15:12 +00:00
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
2020-12-08 07:02:27 +00:00
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-12-08 07:02:27 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2021-04-15 12:06:04 +00:00
|
|
|
- name: backport patches to release-v3.3 branch
|
|
|
|
conditions:
|
|
|
|
- base=devel
|
|
|
|
- label=backport-to-release-v3.3
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- release-v3.3
|
|
|
|
# automerge backports if CI successfully ran
|
|
|
|
- name: automerge backport release-v3.3
|
|
|
|
conditions:
|
2021-04-22 08:46:43 +00:00
|
|
|
- author=mergify[bot]
|
2021-04-15 12:06:04 +00:00
|
|
|
- base=release-v3.3
|
|
|
|
- label!=DNM
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "status-success=codespell"
|
|
|
|
- "status-success=multi-arch-build"
|
|
|
|
- "status-success=go-test"
|
|
|
|
- "status-success=golangci-lint"
|
|
|
|
- "status-success=gosec"
|
|
|
|
- "status-success=commitlint"
|
|
|
|
- "status-success=mod-check"
|
|
|
|
- "status-success=lint-extras"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.19"
|
|
|
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.20"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.19"
|
|
|
|
- "status-success=ci/centos/mini-e2e/k8s-1.20"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
|
|
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
|
|
|
merge: {}
|
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
2020-05-27 09:43:08 +00:00
|
|
|
- name: remove outdated approvals on ci/centos
|
|
|
|
conditions:
|
|
|
|
- base=ci/centos
|
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
approved: true
|
|
|
|
changes_requested: false
|
|
|
|
- name: automatic merge on ci/centos
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
|
|
|
- base=ci/centos
|
|
|
|
- "#approved-reviews-by>=2"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/job-validation"
|
2020-07-24 14:19:42 +00:00
|
|
|
- "status-success=ci/centos/jjb-validate"
|
2020-05-27 09:43:08 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-05-27 09:43:08 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|
|
|
|
- name: automatic merge PR having ready-to-merge label on ci/centos
|
|
|
|
conditions:
|
|
|
|
- label!=DNM
|
|
|
|
- label=ready-to-merge
|
|
|
|
- base=ci/centos
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- "#changes-requested-reviews-by=0"
|
|
|
|
- "status-success=ci/centos/job-validation"
|
2020-07-24 14:19:42 +00:00
|
|
|
- "status-success=ci/centos/jjb-validate"
|
2020-05-27 09:43:08 +00:00
|
|
|
- "status-success=DCO"
|
|
|
|
actions:
|
2021-03-01 07:51:03 +00:00
|
|
|
merge: {}
|
2020-05-27 09:43:08 +00:00
|
|
|
dismiss_reviews: {}
|
|
|
|
delete_head_branch: {}
|