diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..f3c1187 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,18 @@ +pull_request_rules: + +- name: Automatically approve bot PRs + conditions: &base_merge_conditions + - status-success=shellcheck + - author=horothesun-renovate[bot] + actions: + review: + type: APPROVE + +- name: Automatically merge bot PRs + conditions: + - and: *base_merge_conditions + - and: + - "#approved-reviews-by>=1" + actions: + merge: + method: squash