forked from rxRust/rxRust
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mergify.yml
48 lines (43 loc) · 1.39 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
- base=master
- status-success=Check
- status-success=Test Suite
- status-success=rust code format style check
- status-success=clippy_check
actions:
merge:
method: rebase
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: ask to format code
conditions:
- status-failure=rust code format style check
actions:
comment:
message: This pull request does not keep the same code style as this project. Could you fix it? 🙏 Run `cargo fmt` to get more details.
- name: clippy check hint
conditions:
- status-failure=clippy_check
actions:
comment:
message: Clippy helps us to improve our Rust code. Could you fix it? 🙏 Run `cargo clippy --all-targets --all-features -- -D warnings` to get more details.
- name: ask to resolve conflicts
conditions:
- conflict
actions:
comment:
message: This pull request now has unresolved conflicts. Could you fix it? 🙏
- name: say hi to the new contributor
conditions:
- author!=@rxRust/core-developers
actions:
comment:
message: |
Welcome to rxRust!
We're delighted to have you onboard <3