spacex / .mergify.yml
alamin655
πŸ€– Improve the rules used by the `Mergify` bot. (#338)
466ed1b unverified
raw
history blame contribute delete
518 Bytes
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=2"
- check-success=build (stable)
- check-success=CodeFactor
- check-success=Rust project
actions:
queue:
method: squash
- name: automatic update of pull requests where more 5 commits behind
conditions:
- "#commits-behind>5"
actions:
update:
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}