diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 000000000..61f1ce401 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,27 @@ +pull_request_rules: +- name: Automatically merge Renovate PRs + conditions: + - check-success="Build ISO Images (x64)" + - check-success="Build ISO Images (arm64)" + - check-success="Build and deploy" + - author = renovate[bot] + actions: + merge: + method: rebase + +- name: Automatically approve Renovate PRs + conditions: + - check-success="Build ISO Images (x64)" + - check-success="Build ISO Images (arm64)" + - check-success="Build and deploy" + - author = renovate[bot] + actions: + review: + type: APPROVE + +- name: Ask to resolve conflict + conditions: + - conflict + actions: + comment: + message: This pull request is now in conflict. Could you fix it @{{author}}? 🙏 diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..360c7f1f3 --- /dev/null +++ b/renovate.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "github>harvester/renovate:renovate-default" + ] +}