2021-10-28 20:17:05 +03:00
|
|
|
queue_rules:
|
|
|
|
- name: default
|
|
|
|
# Mergify always respects the branch protection settings
|
|
|
|
# so we can left empty mergify own ones
|
|
|
|
conditions: []
|
|
|
|
|
2021-01-03 10:42:05 +03:00
|
|
|
pull_request_rules:
|
2021-10-28 20:17:05 +03:00
|
|
|
- name: Automatically merge pull requests
|
2021-05-22 05:33:50 +03:00
|
|
|
conditions:
|
|
|
|
- label=merge me
|
|
|
|
- '#approved-reviews-by>=1'
|
2021-10-28 20:17:05 +03:00
|
|
|
actions:
|
|
|
|
queue:
|
|
|
|
method: squash
|
|
|
|
name: default
|
2022-12-22 22:42:20 +03:00
|
|
|
# The queue action automatically updates PRs that
|
|
|
|
# have entered the queue, but in order to do that
|
|
|
|
# they must have passed CI. Since our CI is a bit
|
|
|
|
# flaky, PRs can fail to get in, which then means
|
|
|
|
# they don't get updated, which is extra annoying.
|
|
|
|
# This just adds the updating as an independent
|
|
|
|
# step.
|
|
|
|
- name: Automatically update pull requests
|
|
|
|
conditions:
|
|
|
|
- label=merge me
|
|
|
|
actions:
|
|
|
|
update:
|