Skip to content

Commit 79ff26f

Browse files
committed
Direct renovate to the appropriate branches
1 parent 9650f18 commit 79ff26f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

renovate.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
":label(dependencies)",
77
"schedule:automergeNonOfficeHours"
88
],
9+
"baseBranches": ["main","release"],
910
"rebaseWhen": "conflicted",
1011
"packageRules": [
1112
{
@@ -66,11 +67,15 @@
6667
"enabled": false
6768
},
6869
{
69-
"description": "Automerge non-major releases",
70-
"matchUpdateTypes": [
71-
"patch",
72-
"minor"
73-
],
70+
"description": "Patch updates go to release branch",
71+
"matchUpdateTypes": ["patch"],
72+
"matchBaseBranches": ["release"],
73+
"automerge": true
74+
},
75+
{
76+
"description": "Minor updates go to main branch",
77+
"matchUpdateTypes": ["minor"],
78+
"matchBaseBranches": ["main"],
7479
"automerge": true
7580
},
7681
{
@@ -86,6 +91,7 @@
8691
"org.jmailen.gradle:kotlinter-gradle",
8792
"org.junit.jupiter:junit-jupiter"
8893
],
94+
"matchBaseBranches": ["release"],
8995
"automerge": true
9096
}
9197
]

0 commit comments

Comments
 (0)