1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-04 10:24:41 +02:00
Mailu/.mergify.yml
2023-04-02 16:45:42 +00:00

54 lines
1.4 KiB
YAML

pull_request_rules:
- name: Build testing images; trigger bors try
conditions:
- -title~=(WIP|wip)
- -label~=^(status/wip|status/blocked)$
- -closed
- -merged
actions:
comment:
message: |
Thanks for submitting this pull request.
Bors-ng will now build test images. When it succeeds, we will continue to review and test your PR.
bors try
Note: if this build fails, [read this](http://mailu.io/master/contributors/environment.html#when-bors-try-fails).
- name: 2 approved reviews; trigger bors r+
conditions:
- -title~=(WIP|wip)
- -label~=^(status/wip|status/blocked)$
- "#approved-reviews-by>=2"
actions:
comment:
message: bors r+
- name: Trusted author and 1 approved review; trigger bors r+
conditions:
- author~=^(mergify|kaiyou|muhlemmer|mildred|HorayNarea|hoellen|ofthesun9|Nebukadneza|micw|lub|Diman0|ghostwheel42|nextgens)$
- -title~=(WIP|wip)
- -label~=^(status/wip|status/blocked|review/need2)$
- "#approved-reviews-by>=1"
actions:
comment:
message: bors r+
- name: Backport to 2.0 branch
conditions:
- base=master
- label=type/backport
actions:
backport:
branches:
- '2.0'
- name: remove outdated reviews
conditions:
- base~=^(master|2.0)$
actions:
dismiss_reviews:
approved: True