Skip to content

Commit 2e8f2e7

Browse files
committed
fixup! Direct renovate to the appropriate branches
1 parent 6ecb416 commit 2e8f2e7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

renovate.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
":label(dependencies)",
77
"schedule:automergeNonOfficeHours"
88
],
9-
"baseBranchPatterns": ["main","release/*"],
9+
"baseBranchPatterns": ["main","/^release\\/.*/"],
1010
"rebaseWhen": "conflicted",
1111
"packageRules": [
1212
{
@@ -67,14 +67,14 @@
6767
"enabled": false
6868
},
6969
{
70-
"description": "Patch updates go to release branch",
70+
"description": "Don't create PRs to main branch for patch updates",
7171
"matchUpdateTypes": ["patch"],
72-
"matchBaseBranches": ["release/*"],
73-
"automerge": true
72+
"matchBaseBranches": ["main"],
73+
"enabled": false
7474
},
7575
{
76-
"description": "Minor updates go to main branch",
77-
"matchUpdateTypes": ["minor"],
76+
"description": "Minor/major updates go to main branch",
77+
"matchUpdateTypes": ["minor", "major"],
7878
"matchBaseBranches": ["main"],
7979
"automerge": true
8080
},
@@ -91,7 +91,7 @@
9191
"org.jmailen.gradle:kotlinter-gradle",
9292
"org.junit.jupiter:junit-jupiter"
9393
],
94-
"matchBaseBranches": ["release/*"],
94+
"matchBaseBranches": ["/^release\\/.*/"],
9595
"automerge": true
9696
}
9797
]

0 commit comments

Comments
 (0)