Skip to content

Commit 11d938e

Browse files
authored
chore(renovate): enable pip-compile for docker/poetry (#6205)
Some more edits, following up from #6203 Scope `ignorePaths: ["docker/poetry/requirements.txt"]` specifically to the `pip_requirements` manager instead of the global config so Renovate's `pip-compile` manager can detect and update `docker/poetry/requirements.in` and regenerate `docker/poetry/requirements.txt` (including during Python lockfile maintenance). Also adds `osv-schema` / `osv/osv-schema` to the `osv-schema` package rule so the custom regex manager in `go/cmd/osv-linter-worker/Dockerfile` is grouped with the rest of `osv-schema`.
1 parent 013b2fc commit 11d938e

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎renovate.json‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
"git-submodules": {
2727
"enabled": true
2828
},
29+
"pip_requirements": {
30+
"ignorePaths": [
31+
"docker/poetry/requirements.txt"
32+
]
33+
},
2934
"packageRules": [
3035
{
3136
"matchUpdateTypes": [
@@ -200,6 +205,8 @@
200205
},
201206
{
202207
"matchPackageNames": [
208+
"osv-schema",
209+
"osv/osv-schema",
203210
"ossf/osv-schema",
204211
"https://github.com/ossf/osv-schema",
205212
"https://github.com/ossf/osv-schema.git",
@@ -212,7 +219,8 @@
212219
"lockFileMaintenance"
213220
],
214221
"matchManagers": [
215-
"poetry"
222+
"poetry",
223+
"pip-compile"
216224
],
217225
"groupName": "python",
218226
"commitMessageExtra": "(python)"
@@ -287,6 +295,5 @@
287295
"datasourceTemplate": "github-tags",
288296
"versioningTemplate": "semver"
289297
}
290-
],
291-
"ignorePaths": ["docker/poetry/requirements.txt"]
298+
]
292299
}

0 commit comments

Comments
 (0)