Replace bors with mergify

This commit is contained in:
Franck Royer 2021-05-14 09:58:24 +10:00
parent 5e66f40cdb
commit 752c21ecdd
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 22 additions and 8 deletions

22
.github/mergify.yml vendored Normal file
View File

@ -0,0 +1,22 @@
queue_rules:
- name: default
conditions:
- check-success="build_and_test (14, ubuntu-latest)"
- check-success="build_and_test (14, macos-latest)"
- check-success="examples_build_and_test (web-chat)"
- check-success="examples_build_and_test (cli-chat)"
pull_request_rules:
- name: automatic merge for main when ready and CI passes
conditions:
- check-success="build_and_test (14, ubuntu-latest)"
- check-success="build_and_test (14, macos-latest)"
- check-success="examples_build_and_test (web-chat)"
- check-success="examples_build_and_test (cli-chat)"
- author=D4nte
- base=main
- label=ready-to-merge
- label!=work-in-progress
actions:
queue:
name: default

View File

@ -1,8 +0,0 @@
status = [
"build_and_test (14, ubuntu-latest)",
"build_and_test (14, macos-latest)",
"examples_build_and_test (web-chat)",
"examples_build_and_test (cli-chat)"
]
block_labels = ["work-in-progress"]
delete_merged_branches = true