Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(mergify): upgrade configuration to current format #708

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 55 additions & 7 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,67 @@
---
defaults:
actions:
queue:
name: default
method: rebase
update_method: rebase

queue_rules:
- name: duplicated default from API changes needs approval from a contributor and
a reviewer
queue_conditions:
- base~=^(main)|(release-.+)$
- label!=DNM
- label!=api
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
- "status-success=make_test"
- base~=^(main)|(release-.+)$
- label!=DNM
- 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"
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
- "status-success=make_test"
merge_conditions: []
merge_method: rebase
update_method: rebase
- name: default
conditions:
queue_conditions:
- base~=^(main)|(release-.+)$
- label!=DNM
- label!=api
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
- "status-success=make_test"
merge_conditions:
- "status-success=codespell"
- "status-success=build_bundle"
- "status-success=build_controller"
- "status-success=build_sidecar"
- "status-success=go_mod_verify"
- "status-success=go_mod_vendor"
- "status-success=kind_deploy"
merge_method: rebase
update_method: rebase

pull_request_rules:
- name: remove outdated approvals
Expand All @@ -41,7 +87,6 @@ pull_request_rules:
- "status-success=kind_deploy"
- "status-success=make_test"
actions:
queue: {}
dismiss_reviews: {}
delete_head_branch: {}
- name: API changes needs approval from a contributor and a reviewer
Expand All @@ -62,7 +107,6 @@ pull_request_rules:
- "status-success=kind_deploy"
- "status-success=make_test"
actions:
queue: {}
dismiss_reviews: {}
delete_head_branch: {}
- name: pr title contains DNM
Expand Down Expand Up @@ -103,3 +147,7 @@ pull_request_rules:
request_reviews:
users_from_teams:
- "@csi-addons/kubernetes-csi-addons-contributors"
- name: refactored queue action rule
conditions: []
actions:
queue:
Loading