From 34de5af6f53fb133d8480ebfbf104f9d35aa5a99 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 21 May 2024 15:26:10 -0400 Subject: [PATCH] build: Update renovate config. Update the renovate config in edx-platform to match the standard config in most of our other frontend repos, with the exception of 1 settings: Given the size of edx-platform I want to limit the number of concurrent renovate PRs to a very small number so that we don't overwhelm our CI resources. If we find that it would be useful to get more PRs at a time, we can change this setting in the future. We've also removed the `rebaseStalePRs` settings since that would be extra costly on edx-platform for now. --- .github/renovate.json | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index e27406fabe44..a644bd656c7e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,11 +1,34 @@ { "extends": [ "config:base", - "schedule:weekdays", - ":preserveSemverRanges" + "schedule:weekly", + ":automergeLinters", + ":automergeMinor", + ":automergeTesters", + ":enableVulnerabilityAlerts", + ":semanticCommits", + ":updateNotScheduled" ], - "prConcurrentLimit": 5, - "includePaths": [ - "package.json" - ] + "packageRules": [ + { + "matchDepTypes": [ + "devDependencies" + ], + "matchUpdateTypes": [ + "lockFileMaintenance", + "minor", + "patch", + "pin" + ], + "automerge": true + }, + { + "matchPackagePatterns": ["@edx", "@openedx"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + } + ], + "timezone": "America/New_York", + "prConcurrentLimit": 3, + "enabledManagers": ["npm"] }