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 22, 2024
1 parent 269c26f commit b3b27d5
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
queue_rules:
- name: automerge
conditions: [] # No additional rules, because branch-protection does them.

pull_request_rules:
- name: automatic merge on CI success and review
conditions:
queue_conditions:
- base=main
- "#approved-reviews-by>=1"
- label=automerge
- label!=on hold
# GitHub branch-protection rules are automatically applied by mergify, so
# the queue can't actually merge things unless _all_ statuses are passed.
# This section is just a sanity check before the PR can enter the main
# queue.
- or:
- check-success=tests_linux (3.10, ubuntu-latest)
- check-neutral=tests_linux (3.10, ubuntu-latest)
- check-skipped=tests_linux (3.10, ubuntu-latest)
- check-success=tests_linux (3.10, ubuntu-latest)
- check-neutral=tests_linux (3.10, ubuntu-latest)
- check-skipped=tests_linux (3.10, ubuntu-latest)
merge_conditions: [] # No additional rules, because branch-protection does them.

merge_method: squash

pull_request_rules:
- name: refactored queue action rule
conditions: []
actions:
queue:
name: automerge
method: squash

0 comments on commit b3b27d5

Please sign in to comment.