-
Notifications
You must be signed in to change notification settings - Fork 54
/
.mergify.yml
41 lines (38 loc) · 994 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
pull_request_rules:
- name: Merge for developers
conditions:
- base~=(mainline|rename-commands)
- "#approved-reviews-by>=2"
- approved-reviews-by=@awslabs/developer-experience
- -approved-reviews-by~=author
- -label~=(WIP|do-not-merge)
- -title~=(WIP|wip)
- -merged
- -closed
- author!=dependabot[bot]
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: Merge for bots
conditions:
- base=mainline
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- author=dependabot[bot]
- -title~=(WIP|wip)
- -label~=(WIP|do-not-merge)
- -merged
- -closed
actions:
review:
type: APPROVE
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}