forked from mozilla-mobile/android-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
55 lines (55 loc) · 1.35 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
pull_request_rules:
- name: Resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request has conflicts when rebasing. Could you fix it @{{author}}? 🙏
- name: MickeyMoz - Auto Merge
conditions:
- author=MickeyMoz
- status-success=complete-pr
- files~=(Gecko.kt|publicsuffixes)
actions:
review:
type: APPROVE
message: MickeyMoz 💪
merge:
method: rebase
strict: smart
- name: L10N - Auto Merge
conditions:
- author=mozilla-l10n-automation-bot
- status-success=complete-pr
- files~=(strings.xml)
actions:
review:
type: APPROVE
message: LGTM 😎
merge:
method: rebase
strict: smart
- name: Needs landing - Rebase
conditions:
- status-success=complete-pr
- label=🛬 needs landing
- "#approved-reviews-by>=1"
- -draft
- label!=work in progress
- label!=do not land
actions:
merge:
method: rebase
strict: smart
- name: Needs landing - Squash
conditions:
- status-success=complete-pr
- label=🛬 needs landing (squash)
- "#approved-reviews-by>=1"
- -draft
- label!=work in progress
- label!=do not land
actions:
merge:
method: squash
strict: smart