forked from aws/copilot-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
77 lines (74 loc) · 2.06 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
queue_rules:
- name: default
conditions:
- status-success=build (compile-linux)
- status-success=build (compile-windows)
- status-success=build (compile-darwin)
- status-success=test
- status-success=test-race
- status-success=integ-test
- status-success=staticcheck
- status-success=license
pull_request_rules:
- name: Merge for developers
conditions:
- base~=(mainline|rename-commands)
- "#approved-reviews-by>=2"
- approved-reviews-by=@aws/aws-ecs-devx
- -approved-reviews-by~=author
- status-success=build (compile-linux)
- status-success=build (compile-windows)
- status-success=build (compile-darwin)
- status-success=test
- status-success=test-race
- status-success=integ-test
- status-success=staticcheck
- status-success=license
- -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"
- status-success=build (compile-linux)
- status-success=build (compile-windows)
- status-success=build (compile-darwin)
- status-success=test
- status-success=test-race
- status-success=integ-test
- status-success=staticcheck
- status-success=license
- 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 }}
- name: Ask Japanese docs reviews
conditions:
- files~=\.ja.md$
- -closed
actions:
request_reviews:
users:
- toricls
- hkford