From 7d2aa14c4742a809f6e0a51e9480152c17c1f9cf Mon Sep 17 00:00:00 2001 From: Mirone Date: Mon, 2 Sep 2024 23:23:35 +0800 Subject: [PATCH] ci: add renovate (#8122) --- .github/renovate.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000000..64d7cc8c66f1 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":disablePeerDependencies"], + "labels": ["dependencies"], + "ignorePaths": ["**/node_modules/**", "**/__tests__/**", "**/tests/**"], + "packageRules": [ + { + "matchPackagePatterns": ["^eslint", "^@typescript-eslint"], + "rangeStrategy": "replace", + "groupName": "linter" + }, + { + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch", + "matchPackagePatterns": ["*"], + "matchUpdateTypes": ["minor", "patch"] + } + ], + "commitMessagePrefix": "chore: ", + "commitMessageAction": "bump up", + "commitMessageTopic": "{{depName}} version", + "ignoreDeps": [], + "postUpdateOptions": ["pnpmDedupe"], + "lockFileMaintenance": { + "enabled": true, + "extends": ["schedule:weekly"] + } +}