mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 16:25:25 +00:00
2bc7e9fdb6
Taken from https://docs.mergify.io/examples.html
18 lines
444 B
YAML
18 lines
444 B
YAML
pull_request_rules:
|
|
- name: automatic merge when CI passes and 1 reviews
|
|
conditions:
|
|
- "#approved-reviews-by>=1"
|
|
- "#review-requested=0"
|
|
- "#changes-requested-reviews-by=0"
|
|
- "#commented-reviews-by=0"
|
|
- base=main
|
|
- label!=work-in-progress
|
|
actions:
|
|
merge:
|
|
method: squash
|
|
- name: delete head branch after merge
|
|
conditions:
|
|
- merged
|
|
actions:
|
|
delete_head_branch: {}
|