diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 249d2dce..0e6b4f5d 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -6,51 +6,80 @@ "schedule:weekly", ":semanticCommitTypeAll(chore)", ], - labels: ["dependencies"], + labels: [ + "dependencies" + ], rangeStrategy: "bump", - ignoreDeps: ["eorzeaenv"], + "pre-commit": { + enabled: true, + }, packageRules: [ { groupName: "Python dependencies", // https://docs.renovatebot.com/modules/manager/pep621/ - matchManagers: ["pep621"], - matchDepTypes: ["project.dependencies"], - matchUpdateTypes: ["minor", "patch"], + matchManagers: [ + "pep621" + ], + matchDepTypes: [ + "project.dependencies" + ], + matchUpdateTypes: [ + "minor", + "patch" + ], description: "Weekly update of Python dependencies", }, { groupName: "Python dev-dependencies", // https://docs.renovatebot.com/modules/manager/pep621/ - matchManagers: ["pep621"], - matchDepTypes: ["tool.uv.dev-dependencies"], - matchUpdateTypes: ["minor", "patch"], + matchManagers: [ + "pep621" + ], + matchDepTypes: [ + "tool.uv.dev-dependencies" + ], + matchUpdateTypes: [ + "minor", + "patch" + ], description: "Weekly update of Python dev-dependencies", }, { groupName: "GitHub actions dependencies", // https://docs.renovatebot.com/modules/manager/github-actions/ - matchManagers: ["github-actions"], + matchManagers: [ + "github-actions" + ], description: "Weekly update of GitHub actions dependencies", }, { groupName: "Docker dependencies", // https://docs.renovatebot.com/modules/manager/dockerfile/ - matchManagers: ["dockerfile"], + matchManagers: [ + "dockerfile" + ], description: "Weekly update of Docker dependencies", }, { // 更新 Python 版本时,需要同时更新这几个文件 groupName: "Python version", - matchPackageNames: ["python"], + matchPackageNames: [ + "python" + ], // https://docs.renovatebot.com/modules/manager/dockerfile/ // https://docs.renovatebot.com/modules/manager/pyenv/ - matchManagers: ["dockerfile", "pyenv"], + matchManagers: [ + "dockerfile", + "pyenv" + ], description: "Weekly update of Python version", }, { groupName: "pre-commit dependencies", // https://docs.renovatebot.com/modules/manager/pre-commit/ - matchManagers: ["pre-commit"], + matchManagers: [ + "pre-commit" + ], description: "Weekly update of pre-commit dependencies", }, ],