Av1an/.mergify.yml
Josh Holmer 56461c6b17
Add mergify config (#445)
* Add mergify config

This config includes the following rules:

- Automatically merge once a PR passes all tests and is approved.
- Automatically backport each PR from our main branch into our stable branch

* Merge all tests into one run

* Cleanup and speed up test suite

* Migrate to a docker image with dav1d

* Create CI profile with debug assertions enabled

* Use faster params for all encoders

Co-authored-by: Redzic <yusufredzic@gmail.com>
2021-12-15 17:58:00 -05:00

29 lines
816 B
YAML

pull_request_rules:
- name: automatic merge for main when CI passes and approved
conditions:
- "#approved-reviews-by>=1"
# Unfortunately, we cannot just say "all CI must pass".
# This is not a bot limitation, but a limitation in Github itself.
- check-success=tests / all-tests
- check-success=tests / docker
- check-success=SonarCloud Code Analysis
- base=master
actions:
merge:
method: squash
rebase_fallback: none
strict: smart+fasttrack
strict_method: rebase
- name: copy patches to stable branch
conditions:
- base=master
- label!=unstable
actions:
backport:
branches:
- stable
assignees:
- "@master-of-zen"
- "@redzic"
- "@shssoichiro"