Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 20, 2024
1 parent cd54fe9 commit 0e040d3
Showing 1 changed file with 54 additions and 14 deletions.
68 changes: 54 additions & 14 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,54 @@
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
method: squash
- name: duplicated default from Automatically merge PRs from maintainers 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 merge"
- "author=@oss-approvers"
merge_conditions: []
merge_method: squash
method: squash
- 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
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 +58,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 merge PRs from maintainers on CI success and review
Expand All @@ -35,9 +77,6 @@ pull_request_rules:
- "label=ready to merge"
- "author=@oss-approvers"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically merge autobump PRs on CI success
Expand All @@ -47,9 +86,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 @@ -61,3 +97,7 @@ pull_request_rules:
actions:
request_reviews:
teams: ["oss-approvers"]
- name: refactored queue action rule
conditions: []
actions:
queue:

0 comments on commit 0e040d3

Please sign in to comment.