forked from mozilla/application-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
85 lines (85 loc) · 2.79 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
75
76
77
78
79
80
81
82
83
84
85
pull_request_rules:
- name: remove outdated reviews for non-core authors
conditions:
- base=main
- author!=@mozilla/application-services
actions:
dismiss_reviews:
message: The pull request has been modified, dismissing previous reviews.
label:
remove:
- checkin-needed
- name: automatic merge for main
conditions:
- "#approved-reviews-by>=1"
- base=main
- label=checkin-needed
- "status-success=android-build-pr"
- "status-success=lint-detekt"
- "status-success=lint-ktlint"
- "status-success=check-protobuf-uptodate"
- "status-success=check-dependencies"
- "status-success=check-formatting"
- "status-success=swiftlint"
- "status-success=bash-lint"
- "status-success=clippy"
- "status-success=run-tests"
- "status-success=carthage-framework"
actions:
merge:
method: merge
strict: smart
strict_method: rebase
# Copy pasta of above, with different checks.
- name: automatic merge for main (CI FULL)
conditions:
- title~=\[ci full\]
- "#approved-reviews-by>=1"
- base=main
- label=checkin-needed
- "status-success=module-build-logins"
- "status-success=module-build-httpconfig"
- "status-success=module-build-full-megazord"
- "status-success=module-build-tabs"
- "status-success=module-build-lockbox-megazord"
- "status-success=module-build-rustlog"
- "status-success=module-build-places"
- "status-success=module-build-sync15"
- "status-success=module-build-syncmanager"
- "status-success=module-build-fxaclient"
- "status-success=module-build-push"
- "status-success=module-build-native-support"
- "status-success=lint-detekt"
- "status-success=lint-ktlint"
- "status-success=check-protobuf-uptodate"
- "status-success=check-dependencies"
- "status-success=check-formatting"
- "status-success=swiftlint"
- "status-success=bash-lint"
- "status-success=clippy"
- "status-success=run-tests"
- "status-success=carthage-framework"
actions:
merge:
method: merge
strict: smart
strict_method: rebase
- name: automatic merge for main (CI SKIP)
conditions:
- title~=\[ci skip\]
- "#approved-reviews-by>=1"
- base=main
- label=checkin-needed
- "status-success=check-protobuf-uptodate"
- "status-success=check-dependencies"
- "status-success=check-formatting"
- "status-success=swiftlint"
- "status-success=bash-lint"
- "status-success=clippy"
- "status-success=run-tests"
- "status-success=carthage-framework"
actions:
merge:
method: merge
strict: smart
strict_method: rebase