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.
This commit is contained in:
Feanil Patel
2024-05-21 15:26:10 -04:00
parent 83af6537dd
commit 34de5af6f5

35
.github/renovate.json vendored
View File

@@ -1,11 +1,34 @@
{ {
"extends": [ "extends": [
"config:base", "config:base",
"schedule:weekdays", "schedule:weekly",
":preserveSemverRanges" ":automergeLinters",
":automergeMinor",
":automergeTesters",
":enableVulnerabilityAlerts",
":semanticCommits",
":updateNotScheduled"
], ],
"prConcurrentLimit": 5, "packageRules": [
"includePaths": [ {
"package.json" "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"]
} }