File tree Expand file tree Collapse file tree 1 file changed +10
-36
lines changed
Expand file tree Collapse file tree 1 file changed +10
-36
lines changed Original file line number Diff line number Diff line change @@ -208,38 +208,24 @@ rules:
208208
209209
210210
211- # add/remove mentioned-sokra label
212- - filters :
213- open : true
214- any :
215- in_order :
216- comment_1 :
217- author : " ^sokra$"
218- comment_2 : " @sokra"
219- all :
220- not :
221- comment_1 :
222- author : " ^sokra$"
223- comment_2 : " @sokra"
224- actions :
225- label : " mentioned-sokra"
211+ # add non-master label to pull request to other branch
226212- filters :
227- in_order :
228- comment_1 : " @sokra"
229- comment_2 :
230- author : " ^sokra$"
213+ pull_request :
214+ base_ref : " ^(?!master)"
231215 actions :
232- label :
233- remove : " mentioned-sokra"
216+ label : " PR: non-master"
234217
235218
236219
237- # add non-master label to pull request to other branch
220+ # add small label to small pull requests
238221- filters :
222+ open : true
239223 pull_request :
240- base_ref : " ^(?!master)"
224+ additions : " <= 10"
225+ deletions : " <= 10"
226+ changed_files : " <= 2"
241227 actions :
242- label : " PR: non-master "
228+ label : " PR: small "
243229
244230
245231
@@ -263,15 +249,3 @@ rules:
263249 > Don't submit pull request from your own `master` branch. It's recommended to create a feature branch for the PR.
264250
265251 *You don't have to change it for this PR, just make sure to follow this hint the next time you submit a PR.*
266-
267-
268-
269- # add small label to small pull requests
270- - filters :
271- open : true
272- pull_request :
273- additions : " <= 10"
274- deletions : " <= 10"
275- changed_files : " <= 2"
276- actions :
277- label : " PR: small"
You can’t perform that action at this time.
0 commit comments