From 5b6d2c93aae7edc9c103378064cafea7e9e1e05f Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 1 Apr 2025 12:19:47 +0100 Subject: [PATCH] Disable Python version updates for `actions/setup-python` from Renovate (#13758) --- .github/{renovate.json => renovate.json5} | 10 ++++++++++ 1 file changed, 10 insertions(+) rename .github/{renovate.json => renovate.json5} (72%) diff --git a/.github/renovate.json b/.github/renovate.json5 similarity index 72% rename from .github/renovate.json rename to .github/renovate.json5 index afceb5b31..c48c0d253 100644 --- a/.github/renovate.json +++ b/.github/renovate.json5 @@ -17,6 +17,16 @@ "description": "Quarterly update of GitHub Action dependencies", "schedule": ["every 3 months on the first day of the month"] }, + { + // This package rule disables updates for `actions/setup-python` Python versions: + // it's better to do these manually as there's often a reason why we can't use + // the latest Python version in CI for a specific job + groupName: "Python versions", + matchManagers: ["github-actions"], + matchPackageNames: ["python"], + description: "Disable PRs updating Python versions", + enabled: false, + }, { "groupName": "most test/lint dependencies", "matchManagers": ["pip_requirements", "pre-commit"],