From 101be627bdeb6ed10415b28d455edff7a895ca6c Mon Sep 17 00:00:00 2001 From: PoAn Yang Date: Tue, 24 Dec 2024 15:09:56 +0800 Subject: [PATCH] feat: add renovate.json & mergify.yml (#101) Signed-off-by: PoAn Yang --- .github/mergify.yml | 23 +++++++++++++++++++++++ renovate.json | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 .github/mergify.yml create mode 100644 renovate.json diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 00000000..507edfcd --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,23 @@ +pull_request_rules: +- name: Automatically merge Renovate PRs + conditions: + - check-success="Build binaries" + - author = renovate[bot] + actions: + merge: + method: rebase + +- name: Automatically approve Renovate PRs + conditions: + - check-success="Build binaries" + - 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 00000000..360c7f1f --- /dev/null +++ b/renovate.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "github>harvester/renovate:renovate-default" + ] +}