From 8967519a7d48584f1f6febd1b7161e083b1d54b0 Mon Sep 17 00:00:00 2001 From: Holly Gong <39108850+hogo6002@users.noreply.github.com> Date: Thu, 29 Feb 2024 16:14:30 +1100 Subject: [PATCH] Disable Dockerfile Python upgrading (#2022) Prevent Renovate from upgrading Python base image in `Dockerfiles` Add a new `packageRule` to maintain `python:3.11-slim` for stability in docker. Renovate was previously [automatically upgrading](https://github.com/google/osv.dev/pull/2000/files) this image, causing potential compatibility issues. --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renovate.json b/renovate.json index ee23e18352d..db8bd6a8232 100644 --- a/renovate.json +++ b/renovate.json @@ -61,6 +61,11 @@ { "matchFileNames": ["Pipfile"], "groupName": "osv-lib" + }, + { + "matchDatasources": ["docker"], + "matchPackageNames": ["python"], + "enabled": false } ] }