doc: update installation document #642
4 rules match and 8 potential rules
The configuration uses the deprecated
merge_method
attribute of the queue action in one or morepull_request_rules
. It must now be used under thequeue_rules
configuration.
A brownout is planned on August 26th, 2024.
This option will be removed on September 23rd, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules
The configuration uses the deprecated
update_method
attribute of the queue action in one or morepull_request_rules
. It must now be used under thequeue_rules
configuration.
A brownout is planned on August 26th, 2024.
This option will be removed on September 23rd, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules
✅ Rule: remove outdated approvals (dismiss_reviews)
-
base~=^(main)|(release-.+)$
✅ Rule: merge after two approvals (no API changes) (delete_head_branch)
-
#approved-reviews-by>=2
-
#changes-requested-reviews-by=0
-
base~=^(main)|(release-.+)$
-
closed
[📌 delete_head_branch requirement] -
label!=DNM
-
label!=api
-
status-success=build_bundle
-
status-success=build_controller
-
status-success=build_sidecar
-
status-success=codespell
-
status-success=go_mod_vendor
-
status-success=go_mod_verify
-
status-success=kind_deploy
-
status-success=make_test
✅ Rule: merge after two approvals (no API changes) (queue)
-
#approved-reviews-by>=2
-
#changes-requested-reviews-by=0
-
-draft
[📌 queue requirement] -
base~=^(main)|(release-.+)$
-
label!=DNM
-
label!=api
-
status-success=build_bundle
-
status-success=build_controller
-
status-success=build_sidecar
-
status-success=codespell
-
status-success=go_mod_vendor
-
status-success=go_mod_verify
-
status-success=kind_deploy
-
status-success=make_test
- any of: [📌 queue -> configuration change requirements]
-
-mergify-configuration-changed
-
check-success=Configuration changed
-
- any of: [🔀 queue conditions]
- all of: [📌 queue conditions of queue
default
]-
#approved-reviews-by>=2
[🛡 GitHub branch protection] -
#changes-requested-reviews-by=0
[🛡 GitHub branch protection]
-
- all of: [📌 queue conditions of queue
✅ Rule: merge after two approvals (no API changes) (dismiss_reviews)
-
#approved-reviews-by>=2
-
#changes-requested-reviews-by=0
-
base~=^(main)|(release-.+)$
-
label!=DNM
-
label!=api
-
status-success=build_bundle
-
status-success=build_controller
-
status-success=build_sidecar
-
status-success=codespell
-
status-success=go_mod_vendor
-
status-success=go_mod_verify
-
status-success=kind_deploy
-
status-success=make_test
Rule: API changes needs approval from a contributor and a reviewer (delete_head_branch)
-
label=api
-
#approved-reviews-by>=2
-
#changes-requested-reviews-by=0
-
approved-reviews-by=@csi-addons/kubernetes-csi-addons-contributors
-
approved-reviews-by=@csi-addons/kubernetes-csi-addons-reviewers
-
base~=^(main)|(release-.+)$
-
closed
[📌 delete_head_branch requirement] -
label!=DNM
-
status-success=build_bundle
-
status-success=build_controller
-
status-success=build_sidecar
-
status-success=codespell
-
status-success=go_mod_vendor
-
status-success=go_mod_verify
-
status-success=kind_deploy
-
status-success=make_test
Rule: API changes needs approval from a contributor and a reviewer (queue)
-
label=api
-
#approved-reviews-by>=2
-
#changes-requested-reviews-by=0
-
-draft
[📌 queue requirement] -
approved-reviews-by=@csi-addons/kubernetes-csi-addons-contributors
-
approved-reviews-by=@csi-addons/kubernetes-csi-addons-reviewers
-
base~=^(main)|(release-.+)$
-
label!=DNM
-
status-success=build_bundle
-
status-success=build_controller
-
status-success=build_sidecar
-
status-success=codespell
-
status-success=go_mod_vendor
-
status-success=go_mod_verify
-
status-success=kind_deploy
-
status-success=make_test
- any of: [📌 queue -> configuration change requirements]
-
-mergify-configuration-changed
-
check-success=Configuration changed
-
- any of: [🔀 queue conditions]
- all of: [📌 queue conditions of queue
default
]-
#approved-reviews-by>=2
[🛡 GitHub branch protection] -
#changes-requested-reviews-by=0
[🛡 GitHub branch protection]
-
- all of: [📌 queue conditions of queue
Rule: API changes needs approval from a contributor and a reviewer (dismiss_reviews)
-
label=api
-
#approved-reviews-by>=2
-
#changes-requested-reviews-by=0
-
approved-reviews-by=@csi-addons/kubernetes-csi-addons-contributors
-
approved-reviews-by=@csi-addons/kubernetes-csi-addons-reviewers
-
base~=^(main)|(release-.+)$
-
label!=DNM
-
status-success=build_bundle
-
status-success=build_controller
-
status-success=build_sidecar
-
status-success=codespell
-
status-success=go_mod_vendor
-
status-success=go_mod_verify
-
status-success=kind_deploy
-
status-success=make_test
Rule: pr title contains DNM (label)
-
title~=DNM
Rule: label API change (label)
-
files~=^(api/)
Rule: label vendor change (label)
-
files~=^(vendor/)
Rule: request reviews from reviewers for API change (request_reviews)
-
-closed
-
files~=^(api/)
-
-draft
Rule: request reviews from regular contributors (request_reviews)
-
-closed
-
-draft
💖 Mergify is proud to provide this service for free to open source projects.
🚀 You can help us by becoming a sponsor!
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branch
Additionally, on Mergify dashboard you can:
- look at your merge queues
- generate the Mergify configuration with the config editor.
Finally, you can contact us on https://mergify.com