forked from box/box-ui-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
41 lines (40 loc) · 1.24 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
queue_rules:
- name: default
conditions:
- status-success="Validate"
- status-success=license/cla
- status-success=lint_test_build
pull_request_rules:
- name: Automatic boxmoji merge
conditions:
- author=boxmoji
- base=master
- files~=^i18n/
- status-success="Validate"
- status-success=license/cla
- status-success=lint_test_build
- title~=^(fix)\(i18n\)?:\supdate translations$
actions:
queue:
method: squash
name: default
- name: Automatic strict merge
conditions:
- base=master
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "#review-requested=0"
- status-success="Validate"
- status-success=license/cla
- status-success=lint_test_build
- label=ready-to-merge
- label!=do-not-merge
- title~=^(build|ci|chore|docs|feat|fix|perf|refactor|revert|style|test)(\([^)]+\))?:\s.+$
actions:
queue:
method: squash
name: default
- name: Automatic head deletion
conditions: []
actions:
delete_head_branch: {}