forked from Activiti/Activiti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
26 lines (26 loc) · 828 Bytes
/
.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
pull_request_rules:
- name: automatic merge with strict
conditions:
- author=jx-activiti-cloud
- status-success=continuous-integration/jenkins/pr-head
- status-success=Travis CI - Pull Request
- label!=do-not-merge
actions:
delete_head_branch: {}
merge:
method: merge
strict: true
- name: automatic merge when CI passes and 1 approving reviews and label ready-to-merge
conditions:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- status-success=continuous-integration/jenkins/pr-head
- status-success=Travis CI - Pull Request
- status-success=license/cla
- label!=do-not-merge
actions:
delete_head_branch: {}
merge:
method: squash
strict: true