|
6 | 6 | ":label(dependencies)", |
7 | 7 | "schedule:automergeNonOfficeHours" |
8 | 8 | ], |
9 | | - "baseBranchPatterns": ["main","release/*"], |
| 9 | + "baseBranchPatterns": ["main","/^release\\/.*/"], |
10 | 10 | "rebaseWhen": "conflicted", |
11 | 11 | "packageRules": [ |
12 | 12 | { |
|
67 | 67 | "enabled": false |
68 | 68 | }, |
69 | 69 | { |
70 | | - "description": "Patch updates go to release branch", |
| 70 | + "description": "Don't create PRs to main branch for patch updates", |
71 | 71 | "matchUpdateTypes": ["patch"], |
72 | | - "matchBaseBranches": ["release/*"], |
73 | | - "automerge": true |
| 72 | + "matchBaseBranches": ["main"], |
| 73 | + "enabled": false |
74 | 74 | }, |
75 | 75 | { |
76 | | - "description": "Minor updates go to main branch", |
77 | | - "matchUpdateTypes": ["minor"], |
| 76 | + "description": "Minor/major updates go to main branch", |
| 77 | + "matchUpdateTypes": ["minor", "major"], |
78 | 78 | "matchBaseBranches": ["main"], |
79 | 79 | "automerge": true |
80 | 80 | }, |
|
91 | 91 | "org.jmailen.gradle:kotlinter-gradle", |
92 | 92 | "org.junit.jupiter:junit-jupiter" |
93 | 93 | ], |
94 | | - "matchBaseBranches": ["release/*"], |
| 94 | + "matchBaseBranches": ["/^release\\/.*/"], |
95 | 95 | "automerge": true |
96 | 96 | } |
97 | 97 | ] |
|
0 commit comments