diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index 93f5407..0000000 --- a/.github/renovate.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": [ - "config:recommended", - ":semanticCommitTypeAll(chore)", - "helpers:pinGitHubActionDigests" - ], - "commitMessagePrefix": "deps: ", - "ignorePresets": [":semanticPrefixFixDepsChoreOthers"], - "ignorePaths": [".kokoro/requirements.txt"], - "prConcurrentLimit": 0, - "rebaseWhen": "behind-base-branch", - "dependencyDashboard": true, - "dependencyDashboardLabels": ["type: process"], - "semanticCommits": "disabled", - "pip_requirements": { - "fileMatch": ["requirements-test.txt"] - }, - "packageRules": [ - { - "matchManagers": ["github-actions"], - "groupName": "dependencies for github", - "commitMessagePrefix": "chore(deps):" - } - ] -} diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..03218ee --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,33 @@ +{ + "extends": [ + "config:base", // https://docs.renovatebot.com/presets-config/#configbase + ":semanticCommits", // https://docs.renovatebot.com/presets-default/#semanticcommits + ":ignoreUnstable", // https://docs.renovatebot.com/presets-default/#ignoreunstable + "group:allNonMajor", // https://docs.renovatebot.com/presets-group/#groupallnonmajor + ":separateMajorReleases", // https://docs.renovatebot.com/presets-default/#separatemajorreleases + ":prConcurrentLimitNone", // View complete backlog as PRs. https://docs.renovatebot.com/presets-default/#prconcurrentlimitnone + ], + "ignorePaths": [".kokoro/requirements.txt"], + "rebaseWhen": "behind-base-branch", + "dependencyDashboard": true, + "dependencyDashboardLabels": ["type: process"], + "pip_requirements": { + "fileMatch": ["requirements-test.txt"] + }, + "pip_setup": { + "fileMatch": ["(^|/)setup\\.py$"] + }, + "packageRules": [ + { + "matchManagers": ["github-actions"], + "groupName": "dependencies for github", + "commitMessagePrefix": "chore(deps):", + "pinDigest": true, + }, + { + "groupName": "python-nonmajor", + "matchCategories": ["python"], + "matchUpdateTypes": ["minor", "patch"], + }, + ], +}