Skip to content

Commit 24bfce4

Browse files
alan-agius4wagnermaciel
authored andcommitted
ci: enable Renovate on non-base branches (#31737)
This change allows Renovate to run on all branches, not just the base branch. Note that it will only update cross-repo, Bazel, and GitHub Actions dependencies on these branches. (cherry picked from commit 79f8ae8)
1 parent 7e14736 commit 24bfce4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

renovate.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["github>angular/dev-infra//renovate-presets/default.json5"],
4-
"packageRules": [],
4+
"baseBranchPatterns": ["main", "20.2.x"],
55
"ignoreDeps": ["stylelint", "selenium-webdriver", "@types/selenium-webdriver", "typescript"],
6-
"ignorePaths": ["docs/src/assets/stackblitz/**", "integration/**"]
6+
"ignorePaths": ["docs/src/assets/stackblitz/**", "integration/**"],
7+
"packageRules": [
8+
{
9+
"matchBaseBranches": ["main"],
10+
"addLabels": ["target: minor"]
11+
},
12+
{
13+
"matchBaseBranches": ["!main"],
14+
"addLabels": ["target: patch"]
15+
}
16+
]
717
}

0 commit comments

Comments
 (0)