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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
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: automatic merge on CI success and review
conditions: []
actions:
queue:
name: automerge
method: squash
Loading