-
Notifications
You must be signed in to change notification settings - Fork 59
/
.mergify.yml
37 lines (36 loc) · 1.03 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
# See https://doc.mergify.io
pull_request_rules:
- name: automatic merge of Dependabot PRs
actions:
comment:
message: Thanks Dependabot!
merge:
strict: false
method: squash
conditions:
- -label~=(blocked|do-not-merge)
- -merged
- -closed
- author~=dependabot
- "#approved-reviews-by>=1"
- approved-reviews-by~=^(cc4i|NingLu|dengmingtong)
- "#changes-requested-reviews-by=0"
- name: automatic merge
actions:
comment:
message: Thank you for contributing! Your pull request will be merged automatically
merge:
strict: smart
method: squash
strict_method: merge
commit_message: title+body
conditions:
- -label~=(blocked|do-not-merge)
- label~=CI-Succeeded
- -merged
- -closed
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
- "#approved-reviews-by>=1"
- approved-reviews-by~=^(cc4i|NingLu|dengmingtong)
- "#changes-requested-reviews-by=0"