forked from aws/copilot-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
47 lines (47 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
pull_request_rules:
- name: Merge on CI success and review approval
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=staticcheck
- status-success=license
- status-success=Semantic Pull Request
- -label~=(WIP|do-not-merge)
- -title~=(WIP|wip)
- -merged
- -closed
- author!=dependabot[bot]
actions:
merge:
method: squash
strict: smart
strict_method: merge
commit_message: title+body
- name: Automatically approve and merge Dependabot PRs
conditions:
- base=mainline
- status-success=build (compile-linux)
- status-success=build (compile-windows)
- status-success=build (compile-darwin)
- status-success=test
- status-success=staticcheck
- status-success=license
- status-success=Semantic Pull Request
- author=dependabot[bot]
- -title~=(WIP|wip)
- -label~=(WIP|do-not-merge)
- -merged
- -closed
actions:
review:
type: APPROVE
merge:
method: squash
strict: smart+fasttrack
strict_method: merge