From a4e0ee895435f34fbfc6deaefb603e11a64da263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Tue, 2 Jul 2024 11:09:15 +0800 Subject: [PATCH] feat: add renovatebot (#525) --- .github/dependabot.yml | 25 ------------------------- renovate.json | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 710193ace..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,25 +0,0 @@ -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file -version: 2 -updates: - - package-ecosystem: gomod - directory: / - labels: - - "🤖 Dependencies" - schedule: - interval: daily - groups: - go-modules: - patterns: - - "*" - open-pull-requests-limit: 100 - - package-ecosystem: github-actions - directory: / - labels: - - "🤖 Dependencies" - schedule: - interval: daily - groups: - github-actions: - patterns: - - "*" - open-pull-requests-limit: 100 diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..4171bce26 --- /dev/null +++ b/renovate.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "labels": [ + "🤖 Dependencies" + ], + "commitMessagePrefix": "chore(deps): ", + "postUpdateOptions": [ + "gomodTidy" + ], + "packageRules": [ + { + "description": "Automerge non-major updates", + "matchUpdateTypes": [ + "minor", + "patch" + ], + "matchCurrentVersion": "!/^0/", + "automerge": true + } + ], + "ignoreDeps": [] +}