forked from projen/projen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
43 lines (42 loc) · 1.13 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
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
pull_request_rules:
- name: Automatic merge on approval and successful build
actions:
merge:
method: squash
commit_message: title+body
strict: smart
strict_method: merge
delete_head_branch: {}
conditions:
- "#approved-reviews-by>=1"
- status-success=build
- name: Automatic merge PRs with auto-merge label upon successful build
actions:
merge:
method: squash
commit_message: title+body
strict: smart
strict_method: merge
delete_head_branch: {}
conditions:
- label=auto-merge
- status-success=build
- name: Merge pull requests from dependabot if CI passes
conditions:
- author=dependabot[bot]
- status-success=build
actions:
merge:
method: squash
commit_message: title+body
strict: smart
strict_method: merge
- name: Label core contributions
actions:
label:
add:
- contribution/core
conditions:
- author~=^(eladb)$
- label!=contribution/core