-
Notifications
You must be signed in to change notification settings - Fork 29
/
.mergify.yml
46 lines (43 loc) · 1.51 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
pull_request_rules:
- name: automatic approve dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- status-success=Travis CI - Pull Request
- status-success=continuous-integration.azure-devops
actions:
review:
type: APPROVE
# For salt-formula or pyinstaller updates, trigger codebuild, merge on codebuild status
- name: write issue comment to start codebuild job
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- and:
- "#approved-reviews-by>=1"
- or:
- label=submodules
- title~=(?i).*pyinstaller.*
actions:
comment:
message: go codebuild go
- name: automatic merge for dependabot submodule or pyinstaller pull requests with approval and codebuild success
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- or:
- label=submodules
- title~=(?i).*pyinstaller.*
- status-success=codebuild/custom/pr
- status-success=codebuild/default/pr
- "#approved-reviews-by>=1"
actions:
merge:
method: merge
# For regular dependabot pr, automatically merge on approve
- name: automatic merge for dependabot pull requests that are not pyinstaller and not submodules
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- "#approved-reviews-by>=1"
- label!=submodules
- -title~=(?i).*pyinstaller.*
actions:
merge:
method: merge