forked from cdklabs/awscdk-asset-kubectl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
44 lines (42 loc) · 1.22 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
# ~~ Generated by projen. To modify, edit .projenrc.ts 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
merge_method: squash
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: backport patches to kubectl-v21+ branches
conditions:
- label=backport-to-kubectl-v21+
- base=kubectl-v29/main
actions:
backport:
regexes:
- kubectl-v(?!20|29)[\d]*\/main
labels:
- auto-approve
- name: Automatic merge on approval and successful build
actions:
delete_head_branch: {}
queue:
name: default
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