Files
angular__angular/renovate.json
T
Paul Gschwendtner 0e3c2b2c40 ci: update renovate to update angular packages when available (#46437)
We recently aggressively limited Renovate to only two days and set the
hourly limit to one. This resulted in e.g. Angular not being updated
for quite a while now, as well as missing out on e.g. dev-infra updates
which should happen as often as possible.

This commit reworks the config to (1) avoid legacy syntax and (2) to
update Angular-cross repo depsas often as possible. Also groups Bazel
dependencies better and attempts to fix the non-working Babel dep
grouping.

PR Close #46437
2022-06-21 11:48:03 -07:00

91 lines
2.2 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"baseBranches": ["main"],
"enabledManagers": ["npm", "bazel", "github-actions"],
"stopUpdatingLabel": "action: merge",
"pinVersions": false,
"pinDigests": true,
"semanticCommits": "enabled",
"semanticCommitScope": "",
"semanticCommitType": "build",
"separateMajorMinor": false,
"prHourlyLimit": 3,
"timezone": "America/Tijuana",
"lockFileMaintenance": {
"enabled": true
},
"labels": ["target: patch", "comp: build & ci", "action: review"],
"ignoreDeps": [
"@angular/animations-12",
"@angular/common-12",
"@angular/core-12",
"@angular/forms-12",
"@angular/platform-browser-12",
"@angular/platform-browser-dynamic-12",
"@angular/platform-server-12",
"@angular/router-12",
"@types/node",
"@types/selenium-webdriver",
"angular-1.5",
"angular-1.6",
"angular-1.7",
"angular-1.8",
"angular-mocks-1.5",
"angular-mocks-1.6",
"angular-mocks-1.7",
"angular-mocks-1.8",
"puppeteer",
"remark",
"remark-html",
"selenium-webdriver",
"watchr"
],
"packageRules": [
{
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "all non-major dependencies",
"schedule": ["after 10pm every monday", "before 4am every tuesday"]
},
{
"matchPackagePatterns": ["^@bazel/.*", "^build_bazel.*"],
"groupName": "bazel setup",
"schedule": ["at any time"]
},
{
"matchPackagePrefixes": ["@angular/", "angular/", "@angular-devkit", "@schematics/"],
"followTag": "next",
"groupName": "cross-repo Angular dependencies",
"schedule": ["at any time"]
},
{
"matchPackagePrefixes": ["@babel/"],
"groupName": "babel dependencies"
},
{
"matchPackageNames": ["typescript", "tslib"],
"groupName": "typescript dependencies"
},
{
"matchPaths": [".github/workflows/scorecard.yml"],
"groupName": "scorecard action dependencies",
"groupSlug": "scorecard-action"
},
{
"matchPaths": ["integration/!(bazel_workspace_tests)/**"],
"enabled": false
},
{
"matchCurrentVersion": "0.0.0-PLACEHOLDER",
"enabled": false
}
]
}