11#  automatically generated from https://github.com/metwork-framework/github_organization_management/blob/master/common_files/mergify.yml)
22
33pull_request_rules :
4- 
5-   - name : approved merges 
4+ - name : approved merges 
65    actions :
76      merge :
87        method : squash 
9-         # strict: true
10-         # commit_message: title+body
118        commit_message_template : |- 
129          {{ title }} (#{{ number }}) 
1310
1411          {{ body }} 
1512delete_head_branch : {} 
1613    conditions :
17- 
18-       - -merged 
14+ - -merged 
1915      - -closed 
2016      - " #approved-reviews-by>=1" 
2117      - -title~=(WIP|wip) 
2218      - " label!=Status: Blocked" 
23-       - " title~=^(build|chore|ci|docs|style|refactor|perf|test|fix|feat|fix|feat|feat!|fix!)( \\ ([a-z]+ \\ ))?: .*$ " 
24- 
25-    - name : change title 
19+       - " title~=^(build|chore|ci|docs|style|refactor|perf|test|fix|fea\ 
20+         t|fix|feat|feat!|fix!)( \\ ([a-z]+ \\ ))?: .*$ " 
21+ - name : change title 
2622    actions :
2723      comment :
2824        message : | 
@@ -36,22 +32,20 @@ pull_request_rules:
3632
3733          As the title will be used for the commit message (and so for changelog entry if `feat:` or `fix:`). 
3834conditions :
39- 
40-       - -merged 
35+ - -merged 
4136      - -closed 
4237      - " #approved-reviews-by>=1" 
4338      - -title~=(WIP|wip) 
4439      - " label!=Status: Blocked" 
45-       - " -title~=^(build|chore|ci|docs|style|refactor|perf|test|fix|feat|fix|feat|feat!|fix!)( \\ ([a-z]+ \\ ))?: .*$ " 
46- 
47-    - name : buildbot auto merges 
40+       - " -title~=^(build|chore|ci|docs|style|refactor|perf|test|fix|fe\ 
41+         at|fix|feat|feat!|fix!)( \\ ([a-z]+ \\ ))?: .*$ " 
42+ - name : buildbot auto merges 
4843    actions :
4944      review :
5045        type : APPROVE 
51-         message : " automatic approve because author=metworkbot" 
46+         message : automatic approve because author=metworkbot 
5247    conditions :
53- 
54-       - -merged 
48+ - -merged 
5549      - -closed 
5650      - author=metworkbot 
5751      - -title~=(WIP|wip) 
@@ -62,71 +56,122 @@ pull_request_rules:
6256        type : APPROVE 
6357        message : " automatic approve because label=Status: Merge Now" 
6458    conditions :
65- 
66-       - -merged 
59+ - -merged 
6760      - -closed 
6861      - -title~=(WIP|wip) 
6962      - " label=Status: Merge Now" 
7063  - name : wip 
7164    actions :
7265      label :
73-         add : ["Status: In Progress"] 
74-         remove : ["Status: Revision Needed", "Status: Pending", "Status: Review Needed", "Status: Accepted", "Status: Blocked", "Status: NotReproduced", "Status: Merged", "Status: Merge Now"] 
66+         add :
67+           - " Status: In Progress" 
68+         remove :
69+           - " Status: Revision Needed" 
70+           - " Status: Pending" 
71+           - " Status: Review Needed" 
72+           - " Status: Accepted" 
73+           - " Status: Blocked" 
74+           - " Status: NotReproduced" 
75+           - " Status: Merged" 
76+           - " Status: Merge Now" 
7577    conditions :
76- 
77-       - -merged 
78+ - -merged 
7879      - -closed 
7980      - title~=(WIP|wip) 
8081      - " label!=Status: Blocked" 
8182  - name : review needed 
8283    actions :
8384      label :
84-         add : ["Status: Review Needed"] 
85-         remove : ["Status: Revision Needed", "Status: Pending", "Status: In Progress", "Status: Accepted", "Status: Blocked", "Status: NotReproduced", "Status: Merged", "Status: Merge Now"] 
85+         add :
86+           - " Status: Review Needed" 
87+         remove :
88+           - " Status: Revision Needed" 
89+           - " Status: Pending" 
90+           - " Status: In Progress" 
91+           - " Status: Accepted" 
92+           - " Status: Blocked" 
93+           - " Status: NotReproduced" 
94+           - " Status: Merged" 
95+           - " Status: Merge Now" 
8696    conditions :
87- 
88-       - -merged 
97+ - -merged 
8998      - -closed 
9099      - -title~=(WIP|wip) 
91100      - " label!=Status: Blocked" 
92101      - " label!=Status: Merge Now" 
93102      - " #approved-reviews-by=0" 
94-       - " author!=metworkbot" 
103+       - author!=metworkbot 
95104  - name : revision needed1 
96105    actions :
97106      label :
98-         add : ["Status: Revision Needed"] 
99-         remove : ["Status: In Progress", "Status: Pending", "Status: Review Needed", "Status: Accepted", "Status: Blocked", "Status: NotReproduced", "Status: Merged", "Status: Merge Now"] 
107+         add :
108+           - " Status: Revision Needed" 
109+         remove :
110+           - " Status: In Progress" 
111+           - " Status: Pending" 
112+           - " Status: Review Needed" 
113+           - " Status: Accepted" 
114+           - " Status: Blocked" 
115+           - " Status: NotReproduced" 
116+           - " Status: Merged" 
117+           - " Status: Merge Now" 
100118    conditions :
101- 
102-       - -merged 
119+ - -merged 
103120      - -closed 
104121      - " #changes-requested-reviews-by>=1" 
105122      - " label!=Status: Blocked" 
106123  - name : revision needed2 
107124    actions :
108125      label :
109-         add : ["Status: Revision Needed"] 
110-         remove : ["Status: In Progress", "Status: Pending", "Status: Review Needed", "Status: Accepted", "Status: Blocked", "Status: NotReproduced", "Status: Merged", "Status: Merge Now"] 
126+         add :
127+           - " Status: Revision Needed" 
128+         remove :
129+           - " Status: In Progress" 
130+           - " Status: Pending" 
131+           - " Status: Review Needed" 
132+           - " Status: Accepted" 
133+           - " Status: Blocked" 
134+           - " Status: NotReproduced" 
135+           - " Status: Merged" 
136+           - " Status: Merge Now" 
111137    conditions :
112- 
113-       - -merged 
138+ - -merged 
114139      - -closed 
115140      - conflict 
116141      - " label!=Status: Blocked" 
117- 
118-   - name : closed 
142+ - name : closed 
119143    actions :
120144      label :
121-         add : ["Status: Closed"] 
122-         remove : ["Status: Revision Needed", "Status: Pending", "Status: Merged", "Status: Review Needed", "Status: Accepted", "Status: Blocked", "Status: In Progress", "Status: NotReproduced", "Status: Merge Now"] 
145+         add :
146+           - " Status: Closed" 
147+         remove :
148+           - " Status: Revision Needed" 
149+           - " Status: Pending" 
150+           - " Status: Merged" 
151+           - " Status: Review Needed" 
152+           - " Status: Accepted" 
153+           - " Status: Blocked" 
154+           - " Status: In Progress" 
155+           - " Status: NotReproduced" 
156+           - " Status: Merge Now" 
123157    conditions :
124158      - closed 
125159      - -merged 
126160  - name : merged 
127161    actions :
128162      label :
129-         add : ["Status: Merged"] 
130-         remove : ["Status: Revision Needed", "Status: Pending", "Status: Closed", "Status: Review Needed", "Status: Accepted", "Status: Blocked", "Status: In Progress", "Status: NotReproduced", "Status: Merge Now"] 
163+         add :
164+           - " Status: Merged" 
165+         remove :
166+           - " Status: Revision Needed" 
167+           - " Status: Pending" 
168+           - " Status: Closed" 
169+           - " Status: Review Needed" 
170+           - " Status: Accepted" 
171+           - " Status: Blocked" 
172+           - " Status: In Progress" 
173+           - " Status: NotReproduced" 
174+           - " Status: Merge Now" 
131175    conditions :
132176      - merged 
177+ queue_rules : [] 
0 commit comments