-
Notifications
You must be signed in to change notification settings - Fork 303
/
.mergify.yml
45 lines (41 loc) · 1.11 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
queue_rules:
- name: default
conditions:
- status-success=continuous-integration/travis-ci/pr
pull_request_rules:
- name: Merge on CI success and review approval
conditions:
- base~=mainline
- "#approved-reviews-by>=1"
- approved-reviews-by=@aws/aws-ecs-devx
- status-success=continuous-integration/travis-ci/pr
- -approved-reviews-by~=author
- -title~=(WIP|wip)
- -merged
- -closed
- -label~=(WIP|do-not-merge)
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: Automatically approve Dependabot PRs
conditions:
- base=mainline
- status-success=continuous-integration/travis-ci/pr
- author~=^dependabot(|-preview)\[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 }}