1 parent d87c88e commit 5463c1eCopy full SHA for 5463c1e
1 file changed
open-bot.yaml
@@ -311,12 +311,27 @@ rules:
311
312
313
314
-# add non-master label to pull request to other branch
+# add non-master and next label to pull request to other branch
315
+- filters:
316
+ pull_request:
317
+ base_ref: "^master$"
318
+ actions:
319
+ label:
320
+ remove: "PR: non-master"
321
- filters:
322
pull_request:
- base_ref: "^(?!master)"
323
+ base_ref: "^next$"
324
actions:
- label: "PR: non-master"
325
326
+ add: "PR: next"
327
328
329
330
+ base_ref: "^(?!master$)(?!next$)"
331
332
333
+ add: "PR: non-master"
334
+ remove: "PR: next"
335
336
337
0 commit comments