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 7f23758 commit 4780c2d
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
queue_rules:
- name: default
conditions:
queue_conditions:
- "-merged"
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- base=main
- label=AUTOMERGE-REQUESTED
- status-success=Lint
- status-success=Python (3.9, macos-latest)
- status-success=Python (3.12, macos-latest)
Expand All @@ -11,15 +14,9 @@ queue_rules:
- status-success=Python (3.9, windows-latest)
- status-success=Python (3.12, windows-latest)
- "status-success=ci/circleci: build"

pull_request_rules:
- name: Automatic rebase, CI and merge
conditions:
- "-merged"
merge_conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- base=main
- label=AUTOMERGE-REQUESTED
- status-success=Lint
- status-success=Python (3.9, macos-latest)
- status-success=Python (3.12, macos-latest)
Expand All @@ -28,12 +25,10 @@ pull_request_rules:
- status-success=Python (3.9, windows-latest)
- status-success=Python (3.12, windows-latest)
- "status-success=ci/circleci: build"
actions:
queue:
name: default
method: rebase
update_method: rebase
merge_method: rebase
update_method: rebase

pull_request_rules:
- name: Remove label after merge
conditions:
- merged
Expand All @@ -42,3 +37,7 @@ pull_request_rules:
label:
remove:
- AUTOMERGE-REQUESTED
- name: refactored queue action rule
conditions: []
actions:
queue:

0 comments on commit 4780c2d

Please sign in to comment.