From 351235d89cdcdce6ceaad15c6874a4fada4bd58d Mon Sep 17 00:00:00 2001 From: Christopher Butler Date: Thu, 26 Jun 2025 13:20:09 -0400 Subject: [PATCH] Update Renovate Config Why these changes are being introduced: Still working through what should be the correct configuration for Renovate. This is an attempt to extend the matching update types to all the different categories. How this addresses that need: * Move the renovate.json into the .github directory (which feels like a better place for it and is supported by Renovate) * Add a packageRules stanza to for many different UpdateTypes Side effects of this change: None. --- .github/renovate.json | 26 ++++++++++++++++++++++++++ renovate.json | 14 -------------- 2 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 .github/renovate.json delete mode 100644 renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..dc1a121 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>MITLibraries/renovate-config" + ], + "packageRules": [ + { + "matchPackageNames": ["python"], + "allowedVersions": "<3.13" + }, + { + "matchPackageNames": ["!python"], + "matchPackagePatterns": ["*"], + "matchUpdateTypes": [ + "major", + "minor", + "patch", + "pin", + "pinDigest", + "digest", + "bump", + "replacement" + ] + } + ] +} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index d99d3cd..0000000 --- a/renovate.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "local>MITLibraries/renovate-config" - ], - "packageRules": [ - { - "matchPackageNames": ["python"], - "matchUpdateTypes": ["minor"], - "enabled": false, - "description": "Disable minor version updates for Python" - } - ] -}