Skip to content

Commit 351b38d

Browse files
chore(mergify): Configure mergify for github actions.
1 parent 4e6868d commit 351b38d

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

.mergify.yml

+22-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
pull_request_rules:
2-
- name: Automatically merge on CI success and review
2+
- name: Automatically squash and merge on CI success
33
conditions:
4-
- status-success=continuous-integration/travis-ci/pr
5-
- 'label=automerge'
4+
- status-success=Unit Tests
5+
- status-success=Docs can be generated
6+
- status-success=Downstream Angular projects still work
7+
- status-success=Downstream React projects still work
8+
- status-success=Downstream AngularJS projects still work
9+
- status-success=Other Downstream projects still work
10+
- 'label=ready to squash and merge'
611
actions:
712
delete_head_branch: {}
8-
label:
9-
add: ['auto merged']
1013
merge:
1114
method: squash
1215
strict: smart
16+
- name: Automatically rebase and merge on CI success
17+
conditions:
18+
- status-success=Unit Tests
19+
- status-success=Docs can be generated
20+
- status-success=Downstream Angular projects still work
21+
- status-success=Downstream React projects still work
22+
- status-success=Downstream AngularJS projects still work
23+
- status-success=Other Downstream projects still work
24+
- 'label=ready to rebase and merge'
25+
actions:
26+
delete_head_branch: {}
27+
merge:
28+
method: rebase
29+
strict: smart

0 commit comments

Comments
 (0)