diff --git a/.github/renovate.json b/.github/renovate.json index 70d3f34b9..1d2808213 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -11,12 +11,32 @@ ], "dependencyDashboard": true, "automerge": false, + "pip-compile": { + "managerFilePatterns": [ + "/^docs/requirements\\.txt$/" + ] + }, "packageRules": [ { - "matchPackagePatterns": ["*"], - "matchUpdateTypes": ["minor", "patch"], + "matchPackagePatterns": [ + "*" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], "groupName": "all non-major dependencies", "groupSlug": "all-non-major" + }, + { + "description": "docs/requirements.txt is autogenerated by pip-compile from docs/requirements.in. Let the pip-compile manager regenerate the lock file, and stop the pip_requirements manager from editing the autogenerated file line by line.", + "matchManagers": [ + "pip_requirements" + ], + "matchFileNames": [ + "docs/requirements.txt" + ], + "enabled": false } ] }