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 #10153

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
99 changes: 79 additions & 20 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,75 @@
queue_rules:
- name: duplicated default from Automatically merge release branch changes on CI
success and release manager review
queue_conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
- base~=^release-
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@release-managers"
merge_conditions: []
merge_method: squash
- name: duplicated default from Automatically self merge on CI success
queue_conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
- base=master
- status-success=build
- "label=ready to merge"
- "label=self merge"
merge_conditions: []
merge_method: squash
- name: duplicated default from Automatically rebase and merge on CI success and
review
queue_conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
- base=master
- status-success=build
- "label=ready to rebase"
- "approved-reviews-by=@oss-approvers"
merge_conditions: []
merge_method: rebase
- name: duplicated default from Automatically rebase and self merge on CI success
queue_conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
- "label=ready to rebase"
- "label=self merge"
- base=master
- status-success=build
merge_conditions: []
merge_method: rebase
- name: duplicated default from Automatically merge autobump PRs on CI success
queue_conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
- base~=^(master|release-)
- status-success=build
- "label~=autobump-*"
- "author:spinnakerbot"
merge_conditions: []
merge_method: squash
- name: default
conditions:
queue_conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
merge_conditions:
- status-success=build
merge_method: squash

pull_request_rules:
- name: Automatically merge on CI success and review
Expand All @@ -11,21 +79,16 @@ pull_request_rules:
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically merge release branch changes on CI success and release manager review
- name: Automatically merge release branch changes on CI success and release manager
review
conditions:
- base~=^release-
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@release-managers"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically self merge on CI success
Expand All @@ -35,9 +98,6 @@ pull_request_rules:
- "label=ready to merge"
- "label=self merge"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically rebase and merge on CI success and review
Expand All @@ -47,9 +107,6 @@ pull_request_rules:
- "label=ready to rebase"
- "approved-reviews-by=@oss-approvers"
actions:
queue:
method: rebase
name: default
label:
add: ["auto merged"]
- name: Automatically rebase and self merge on CI success
Expand All @@ -59,9 +116,6 @@ pull_request_rules:
- base=master
- status-success=build
actions:
queue:
method: rebase
name: default
label:
add: ["auto merged"]
- name: Automatically merge autobump PRs on CI success
Expand All @@ -71,9 +125,6 @@ pull_request_rules:
- "label~=autobump-*"
- "author:spinnakerbot"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Request reviews for autobump PRs on CI failure
Expand All @@ -85,3 +136,11 @@ pull_request_rules:
actions:
request_reviews:
teams: ["oss-approvers"]
- name: Automatically merge autobump PRs on CI success + Automatically merge on
CI success and review + Automatically merge release branch changes on CI success
and release manager review + Automatically rebase and merge on CI success and
review + Automatically rebase and self merge on CI success + Automatically self
merge on CI success
conditions: []
actions:
queue:
Loading