ci: mergify auto merge on passing CI + approvals
This commit is contained in:
parent
f1fd4e5c27
commit
bc2c6018f7
34
.mergify.yml
34
.mergify.yml
@ -88,3 +88,37 @@ pull_request_rules:
|
|||||||
- version-12-pre-release
|
- version-12-pre-release
|
||||||
assignees:
|
assignees:
|
||||||
- "{{ author }}"
|
- "{{ author }}"
|
||||||
|
|
||||||
|
- name: Automatic merge on CI success and review
|
||||||
|
conditions:
|
||||||
|
- status-success=linters
|
||||||
|
- status-success=Sider
|
||||||
|
- status-success=Semantic Pull Request
|
||||||
|
- status-success=Patch Test
|
||||||
|
- status-success=Python Unit Tests (1)
|
||||||
|
- status-success=Python Unit Tests (2)
|
||||||
|
- status-success=Python Unit Tests (3)
|
||||||
|
- label!=dont-merge
|
||||||
|
- label!=squash
|
||||||
|
- "#approved-reviews-by>=1"
|
||||||
|
actions:
|
||||||
|
merge:
|
||||||
|
method: merge
|
||||||
|
- name: Automatic squash on CI success and review
|
||||||
|
conditions:
|
||||||
|
- status-success=linters
|
||||||
|
- status-success=Sider
|
||||||
|
- status-success=Patch Test
|
||||||
|
- status-success=Python Unit Tests (1)
|
||||||
|
- status-success=Python Unit Tests (2)
|
||||||
|
- status-success=Python Unit Tests (3)
|
||||||
|
- label!=dont-merge
|
||||||
|
- label=squash
|
||||||
|
- "#approved-reviews-by>=1"
|
||||||
|
actions:
|
||||||
|
merge:
|
||||||
|
method: squash
|
||||||
|
commit_message_template: |
|
||||||
|
{{ title }} (#{{ number }})
|
||||||
|
|
||||||
|
{{ body }}
|
||||||
|
Loading…
Reference in New Issue
Block a user