From 33b99ddccbaa415fd82e0aca426c817265597abe Mon Sep 17 00:00:00 2001 From: qwqcode Date: Tue, 22 Aug 2023 16:44:54 +0800 Subject: [PATCH] refactor(CI): replace renovate with github dependabot --- .github/dependabot.yml | 34 ++++++++++++++++++++++++++++++++++ .github/renovate.json | 16 ---------------- 2 files changed, 34 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 .github/renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..c645abf60 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,34 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: gomod + directory: / + schedule: + interval: monthly + commit-message: + prefix: "[go] " + + - package-ecosystem: pnpm + directory: /ui + schedule: + interval: monthly + commit-message: + prefix: "[ui] " + + - package-ecosystem: docker + directory: / + schedule: + interval: monthly + commit-message: + prefix: "[docker] " + + - package-ecosystem: github-actions + directory: /.github/workflows + schedule: + interval: monthly + commit-message: + prefix: "[ci] " diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index 0d3c98f11..000000000 --- a/.github/renovate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": ["config:base", "schedule:monthly"], - "automerge": false, - "major": { - "automerge": false - }, - "vulnerabilityAlerts": { - "enabled": true - }, - "osvVulnerabilityAlerts": true, - "branchPrefix": "chore/", - "labels": ["dependencies"], - "gomodTidy": true, - "rangeStrategy": "bump", - "reviewers": [] -}