forked from mozilla-mobile/firefox-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
74 lines (73 loc) · 1.91 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
queue_rules:
- name: rebase-queue
queue_conditions:
- check-success=Bitrise
merge_method: rebase
- name: squash-queue
queue_conditions:
- check-success=Bitrise
merge_method: squash
pull_request_rules:
- name: Resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request has conflicts when rebasing. Could you fix it @{{author}}? 🙏
- name: Bitrise update - Auto Merge
conditions:
- author=github-actions[bot]
- check-success=Bitrise
- files=bitrise.yml
- -files~=^(?!bitrise.yml).+$
- head=update-br-new-xcode-version
actions:
review:
type: APPROVE
message: Github-action[bot] 💪
queue:
name: rebase-queue
- name: Rust Component Upgrade - Auto Merge
conditions:
- author=github-actions[bot]
- check-success=Bitrise
- files=Client.xcodeproj/project.pbxproj
- files=Client.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
actions:
review:
type: APPROVE
message: Github-action[bot] 💪
queue:
name: rebase-queue
- name: L10N - Auto Merge
conditions:
- author=github-actions[bot]
- check-success=Bitrise
- files~=^.+\.strings$
- -files~=^(?!^.+\.strings).+$
actions:
review:
type: APPROVE
message: LGTM 😎
queue:
name: rebase-queue
- name: Needs landing - Rebase
conditions:
- check-success=Bitrise
- label=Needs Landing
- "#approved-reviews-by>=1"
- -draft
- label!=Do Not Merge ⛔️
actions:
queue:
name: rebase-queue
- name: Needs landing - Squash
conditions:
- check-success=Bitrise
- label=Needs Landing (Squash)
- "#approved-reviews-by>=1"
- -draft
- label!=Do Not Merge ⛔️
actions:
queue:
name: squash-queue