Skip to content

ci: refactor renovate config to use dev-infra preset #30281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 1 addition & 84 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rangeStrategy": "replace",
"semanticCommits": "enabled",
"semanticCommitType": "build",
"semanticCommitScope": "",
"separateMajorMinor": false,
"prHourlyLimit": 2,
"labels": ["target: minor", "action: merge"],
"timezone": "America/Tijuana",
"lockFileMaintenance": {
"enabled": true
},
"dependencyDashboard": true,
"schedule": ["after 10:00pm every weekday", "before 4:00am every weekday", "every weekend"],
"baseBranches": ["main"],
"ignoreDeps": ["@types/node", "build_bazel_rules_nodejs", "rules_pkg", "yarn"],
"includePaths": [
"WORKSPACE",
"package.json",
"**/package.json",
".github/workflows/**/*.yml",
".nvmrc"
],
"extends": ["github>angular/dev-infra//renovate-presets/default.json5"],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra slash?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"ignorePaths": ["tests/legacy-cli/e2e/assets/**", "tests/schematics/update/packages/**"],
"packageRules": [
{
"matchDepNames": ["node"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"enabled": false,
"matchDepNames": ["node"],
"matchUpdateTypes": ["major"]
},
{
"matchPackageNames": ["quicktype-core"],
"schedule": ["before 4:00am on the first day of the month"]
},
{
"matchCurrentVersion": "/^[~^]?0\\.0\\.0-/",
"enabled": false
},
{
"groupName": "angular",
"followTag": "next",
"matchDepNames": ["/^@angular/.*/", "/angular/dev-infra/"]
},
{
"groupName": "babel",
"matchDepNames": ["/^@babel/.*/"]
},
{
"groupName": "bazel",
"matchDepNames": ["/^@bazel/.*/", "/^build_bazel.*/"]
},
{
"separateMinorPatch": true,
"matchPackageNames": ["typescript", "rxjs", "tslib"]
},
{
"enabled": false,
"matchPackageNames": ["typescript", "rxjs", "tslib"],
"matchUpdateTypes": ["major"]
},
{
"enabled": false,
"matchPackageNames": ["typescript"],
"matchUpdateTypes": ["minor"]
},
{
"matchFileNames": [
"packages/angular_devkit/schematics_cli/blank/project-files/package.json",
Expand All @@ -76,27 +11,9 @@
],
"matchPackageNames": ["*"],
"groupName": "schematics dependencies",
"groupSlug": "all-schematics-dependencies",
"lockFileMaintenance": {
"enabled": false
}
},
{
"matchFileNames": [
"!packages/angular_devkit/schematics_cli/blank/project-files/package.json",
"!packages/angular_devkit/schematics_cli/schematic/files/package.json",
"!packages/schematics/angular/utility/latest-versions/package.json"
],
"matchPackageNames": ["*", "!/^@angular/.*/", "!/angular/dev-infra/"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
},
{
"matchFileNames": [".github/workflows/scorecard.yml"],
"matchPackageNames": ["*"],
"groupName": "scorecard action dependencies",
"groupSlug": "scorecard-action"
}
]
}