-
Notifications
You must be signed in to change notification settings - Fork 4
/
.mergify.yml
26 lines (26 loc) · 864 Bytes
/
.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
pull_request_rules:
- name: Automatic merge when CI passes and reviews approve
conditions:
- "#approved-reviews-by>=1"
- check-success=CI # replace "CI" with the name of your CI status check
actions:
merge:
method: merge
- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflicts. Could you fix this @{{author}} ?
- name: comment when a pull request is merged
conditions:
- merged
actions:
comment:
message: Thank you for your contribution @{{author}}! Your pull request has been merged.
- name: comment when a pull request is labeled "needs review"
conditions:
- label=needs review
actions:
comment:
message: Thank you for your contribution! A reviewer will be assigned soon.