Skip to content

Commit 202234c

Browse files
committed
chore: don't create separate renovate PRs for angular and angular-cli
1 parent 2eae674 commit 202234c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

renovate.json5

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: ['github>netlify/renovate-config:default'],
44
ignorePresets: [':prHourlyLimit2'],
5+
prHourlyLimit: 0,
56
semanticCommits: true,
67
// The config we're extending ignores test dirs, but we want to bump some fixture deps
78
ignorePaths: ['**/node_modules/**'],
9+
// We creating our own package rule that bundles those two together, so let's avoid separate ones
10+
ignorePresets: ['monorepo:angular', 'monorepo:angular-cli'],
811
packageRules: [
912
// Since we've enabled Renovate (see above) for fixture sites, adjust the config for these.
1013
{
@@ -16,9 +19,11 @@
1619
},
1720
{
1821
description: 'Stable & unstable Angular bumps in test fixtures',
22+
groupName: 'Angular packages',
1923
matchFileNames: ['tests/**/fixtures/**/package.json'],
20-
// See https://docs.renovatebot.com/presets-monorepo/#monorepoangular.
21-
matchSourceUrls: ['https://github.com/angular/angular'],
24+
// See https://docs.renovatebot.com/presets-monorepo/#monorepoangular and https://docs.renovatebot.com/presets-monorepo/#monorepoangular-cli.
25+
// packages from both monorepos should be bumped together
26+
matchSourceUrls: ['https://github.com/angular/angular', 'https://github.com/angular/angular-cli'],
2227
// Override the schedule to get immediate PRs.
2328
schedule: null,
2429
// Apply a unique label so we can trigger additional workflows for these PRs.

0 commit comments

Comments
 (0)