Import translations from android-l10n
[gecko.git] / mobile / android / .mergify.yml
blob95a3943ea06d7e7550ab3b00f137c02731a9ee4d
1 queue_rules:
2   - name: default
3     conditions:
4       - status-success=complete-pr
5 pull_request_rules:
6   - name: Resolve conflict
7     conditions:
8       - conflict
9     actions:
10         comment:
11           message: This pull request has conflicts when rebasing. Could you fix it @{{author}}? 🙏
12   - name: MickeyMoz - Auto Merge
13     conditions:
14       - author=MickeyMoz
15       - status-success=complete-pr
16       - files~=^android-components/(Gecko\.kt|components/lib/publicsuffixlist/src/main/assets/publicsuffixes)
17       - -files~=^(?!android-components/(Gecko\.kt|components/lib/publicsuffixlist/src/main/assets/publicsuffixes)).+$
18     actions:
19       review:
20         type: APPROVE
21         message: MickeyMoz 💪
22       queue:
23         method: rebase
24         name: default
25   - name: L10N - Auto Merge
26     conditions:
27       - author=github-actions[bot]
28       - status-success=complete-pr
29       - files~=^(android-components|fenix|focus-android)/(.+/strings\.xml|l10n\.toml)
30       - -files~=^(?!(android-components|fenix|focus-android)/(.+/strings\.xml|l10n\.toml)).+$
31     actions:
32       review:
33         type: APPROVE
34         message: LGTM 😎
35       queue:
36         method: rebase
37         name: default
38   - name: Release automation
39     conditions:
40       - author=github-actions[bot]
41       - status-success=complete-pr
42       - status-success=complete-push
43       - files~=^android-components/(\.buildconfig\.yml|plugins/dependencies/src/main/java/(ApplicationServices|DependenciesPlugin|Gecko)\.kt)
44       - -files~=^(?!android-components/(\.buildconfig\.yml|plugins/dependencies/src/main/java/(ApplicationServices|DependenciesPlugin|Gecko)\.kt)).+$
45     actions:
46       review:
47         type: APPROVE
48         message: 🚢
49       queue:
50         method: rebase
51         name: default
52       delete_head_branch:
53         force: false
54   - name: Needs landing - Rebase
55     conditions:
56       - status-success=complete-pr
57       - label=🛬 needs landing
58       - "#approved-reviews-by>=1"
59       - -draft
60       - label!=work in progress
61       - label!=do not land
62     actions:
63       queue:
64         method: rebase
65         name: default
66   - name: Needs landing - Squash
67     conditions:
68       - status-success=complete-pr
69       - label=🛬 needs landing (squash)
70       - "#approved-reviews-by>=1"
71       - -draft
72       - label!=work in progress
73       - label!=do not land
74     actions:
75       queue:
76         method: squash
77         name: default