forked from aakvatech/CSF_TZ
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mergify.yml
94 lines (80 loc) · 2.02 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
pull_request_rules:
- name: Assign author to review conflict and add label of 'conflict'
conditions:
- conflict
actions:
label:
add:
- conflict
assign:
add_users:
- aakvatech
- "{{author}}"
comment:
message: "@{{author}} this pull request is now in conflict 😩"
- name: Automatic merge pull request to develop
conditions:
- and:
- and:
- base = develop
- label != conflict
- or:
- author = aakvatech
- author = av-dev2
actions:
merge:
method: merge
- name: backport to version-13-hotfix
conditions:
- label = version-13-hotfix
actions:
backport:
branches:
- version-13-hotfix
assignees:
- aakvatech
- "{{author}}"
- name: backport to version-14-hotfix
conditions:
- label = version-14-hotfix
actions:
backport:
branches:
- version-14-hotfix
assignees:
- aakvatech
- "{{author}}"
- name: Automatic merge after review to version-13-hotfix
conditions:
- base = version-13-hotfix
- label != conflict
- "#approved-reviews-by >= 1"
- name: Automatic merge pull request to version-13
conditions:
- and:
- and:
- base = version-13
- label != conflict
- or:
- author = aakvatech
- author = av-dev2
actions:
merge:
method: merge
- name: Automatic merge after review to version-14-hotfix
conditions:
- base = version-14-hotfix
- label != conflict
- "#approved-reviews-by >= 1"
- name: Automatic merge pull request to version-14
conditions:
- and:
- and:
- base = version-14
- label != conflict
- or:
- author = aakvatech
- author = av-dev2
actions:
merge:
method: merge