|
4 | 4 | "config:best-practices" |
5 | 5 | ], |
6 | 6 |
|
7 | | - // Renovate master and recent maintenance branches |
| 7 | + // Renovate master and recent maintenance branches. When updating the maintenance branch pattern, update the rule |
| 8 | + // for dashboard approvals for all but the earliest maintenance branch. |
8 | 9 | "baseBranchPatterns": ["master", "/^maintenance/mps202[4-9][0-9]/"], |
9 | 10 |
|
10 | 11 | "packageRules": [ |
|
43 | 44 | { |
44 | 45 | // Disable JBR updates on maintenance branches |
45 | 46 | "matchPackageNames": ["com.jetbrains.jdk:*"], |
46 | | - "matchBaseBranches": ["!/^master$/"], |
| 47 | + "matchBaseBranches": ["!master"], |
47 | 48 | "enabled": false |
48 | 49 | }, |
49 | 50 |
|
50 | 51 | { |
51 | 52 | // Disable Python updates on maintenance branches |
52 | 53 | "matchManagers": "pip_requirements", |
53 | | - "matchBaseBranches": ["!/^master$/"], |
| 54 | + "matchBaseBranches": ["!master"], |
54 | 55 | "enabled": false, |
55 | 56 | }, |
56 | 57 |
|
|
64 | 65 | "matchPackageNames": ["org.eclipse*"], |
65 | 66 | "groupName": "eclipse" |
66 | 67 | }, |
| 68 | + |
67 | 69 | { |
68 | 70 | "matchPackageNames": ["com.miglayout*"], |
69 | 71 | "groupName": "miglayout" |
|
75 | 77 | "matchDepTypes": ["dependencies"], // Exclude plugins |
76 | 78 | "matchPackageNames": ["!com.jetbrains*"], // Exclude MPS and JBR |
77 | 79 | "matchUpdateTypes": ["minor", "patch"], |
78 | | - "groupName": "third-party-minor" |
| 80 | + "groupName": "third-party-minor", |
| 81 | + }, |
| 82 | + |
| 83 | + { |
| 84 | + // Schedule dependency updates once a month |
| 85 | + "matchJsonata": ["(manager = 'pip_requirements') or (depType = 'dependencies')"], |
| 86 | + "schedule": "* 0-3 1 * *" // Only check for new versions once a month on the 1st, before 4 AM. |
| 87 | + }, |
| 88 | + |
| 89 | + // Updates to all maintenance branches except the earliest one need approval. Updates to mps-prerelease are |
| 90 | + // an exception because we want to see those right away. |
| 91 | + { |
| 92 | + "matchBaseBranches": ["!maintenance/mps20241"], |
| 93 | + "matchPackageNames": ["!com.jetbrains.mps:mps-prerelease"], |
| 94 | + "dependencyDashboardApproval": true |
79 | 95 | } |
80 | 96 | ] |
81 | 97 | } |
0 commit comments