-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
52 lines (50 loc) · 1.51 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
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
queue_rules:
- name: default
update_method: merge
conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=package-js
- status-success=package-java
- status-success=package-python
- status-success=package-dotnet
- status-success=package-go
pull_request_rules:
- name: Automatically approve PRs with automerge label
actions:
review:
type: APPROVE
message: Automatically approved due to label
conditions:
- label=automerge
- -label~=(do-not-merge)
- -draft
- author=team-tf-cdk
- name: Automatically close stale PRs
actions:
close:
message: Closing this automatic PR, if it has not merged there is most likely a CI or CDKTF issue preventing it from merging
conditions:
- author=team-tf-cdk
- -draft
- created-at<1 day ago
- name: Automatic merge on approval and successful build
actions:
delete_head_branch: {}
queue:
method: squash
name: default
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=package-js
- status-success=package-java
- status-success=package-python
- status-success=package-dotnet
- status-success=package-go