Update mergify config for GHA
This commit is contained in:
parent
8b8be9f5b5
commit
99d20bb277
1 changed files with 13 additions and 5 deletions
18
.mergify.yml
18
.mergify.yml
|
|
@ -3,10 +3,14 @@ pull_request_rules:
|
||||||
conditions:
|
conditions:
|
||||||
- author=puremourning
|
- author=puremourning
|
||||||
- base=master
|
- base=master
|
||||||
|
# Review
|
||||||
- status-success=code-review/reviewable
|
- status-success=code-review/reviewable
|
||||||
- status-success=puremourning.vimspector # Azure pipeline
|
|
||||||
|
|
||||||
- "#changes-requested-reviews-by=0"
|
- "#changes-requested-reviews-by=0"
|
||||||
|
# CI https://doc.mergify.io/conditions.html#github-actions
|
||||||
|
- status-success=PythonLint
|
||||||
|
- status-success=VimscriptLint
|
||||||
|
- status-success=MacOS
|
||||||
|
|
||||||
|
|
||||||
actions: &merge-actions
|
actions: &merge-actions
|
||||||
merge:
|
merge:
|
||||||
|
|
@ -18,12 +22,16 @@ pull_request_rules:
|
||||||
conditions:
|
conditions:
|
||||||
- author!=puremourning
|
- author!=puremourning
|
||||||
- base=master
|
- base=master
|
||||||
|
# Review
|
||||||
- status-success=code-review/reviewable
|
- status-success=code-review/reviewable
|
||||||
- status-success=puremourning.vimspector # Azure pipeline
|
|
||||||
- approved-reviews-by=puremourning
|
|
||||||
|
|
||||||
- "#approved-reviews-by>=1"
|
- "#approved-reviews-by>=1"
|
||||||
- "#changes-requested-reviews-by=0"
|
- "#changes-requested-reviews-by=0"
|
||||||
|
- approved-reviews-by=puremourning
|
||||||
|
# CI https://doc.mergify.io/conditions.html#github-actions
|
||||||
|
- status-success=PythonLint
|
||||||
|
- status-success=VimscriptLint
|
||||||
|
- status-success=Linux
|
||||||
|
- status-success=MacOS
|
||||||
actions:
|
actions:
|
||||||
<<: *merge-actions
|
<<: *merge-actions
|
||||||
comment:
|
comment:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue