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