forked from HSLdevcom/OpenTripPlanner
-
Notifications
You must be signed in to change notification settings - Fork 10
/
renovate.json5
163 lines (163 loc) · 5.34 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"prConcurrentLimit": 3,
"labels": [
"skip changelog"
],
"rebaseWhen": "conflicted",
"enabledManagers": [
"npm",
"maven",
"pip_requirements"
],
"packageRules": [
{
"matchPackageNames": [
"jakarta.xml.bind:jakarta.xml.bind-api",
// need code changes, don't want to upgrade
"io.github.origin-energy:java-snapshot-testing-junit5",
"commons-cli:commons-cli",
"org.processing:core",
// Skanetrafiken doesn't want automatic updates for these Azure libraries
"com.microsoft.azure:azure-servicebus",
"com.azure.resourcemanager:azure-resourcemanager-servicebus",
"com.azure:azure-core",
"com.azure:azure-messaging-servicebus",
"com.azure:azure-identity"
],
"enabled": false
},
{
"matchFiles": ["client/package.json"],
"matchUpdateTypes": ["patch", "minor"],
"groupName": "Debug UI dependencies (non-major)",
"schedule": ["after 6pm on the 3rd and 17th day of the month"],
"reviewers": ["testower"]
},
{
"matchFiles": ["client/package.json"],
"matchUpdateTypes": ["major"],
"reviewers": ["testower"]
},
// some dependencies that we auto-merge release very often and even the auto-merges create a lot of
// noise, so we slow it down a bit
{
"description": "Automerge test dependencies in a single PR",
"groupName": "Test dependencies",
"matchPackageNames": [
"org.mockito:mockito-core",
"com.tngtech.archunit:archunit",
"org.apache.maven.plugins:maven-surefire-plugin",
"me.fabriciorby:maven-surefire-junit5-tree-reporter",
"com.google.truth:truth",
"org.jacoco:jacoco-maven-plugin", // coverage plugin
"org.apache.commons:commons-compress", // only used by tests
"org.junit.jupiter:{/,}**"
],
"automerge": true,
"schedule": "on the 17th day of the month"
},
{
"matchPackageNames": [
"org.mobilitydata:gbfs-java-model"
],
"matchUpdateTypes": ["patch"],
"schedule": "on the 18th day of the month",
"automerge": true
},
{
"description": "Automerge Maven plugins in a single PR",
"groupName": "Maven plugins",
"matchPackageNames": [
"io.github.git-commit-id:git-commit-id-maven-plugin",
"org.apache.maven.plugins:maven-gpg-plugin",
"org.codehaus.mojo:build-helper-maven-plugin",
"org.apache.maven.plugins:maven-source-plugin",
"com.hubspot.maven.plugins:prettier-maven-plugin",
"com.google.cloud.tools:jib-maven-plugin",
"org.apache.maven.plugins:maven-shade-plugin",
"org.apache.maven.plugins:maven-compiler-plugin",
"org.apache.maven.plugins:maven-jar-plugin",
"org.sonatype.plugins:nexus-staging-maven-plugin"
],
"schedule": "on the 23rd day of the month",
"automerge": true
},
{
// https://github.com/graphql-java-kickstart/renovate-config/blob/main/default.json
"description": "GraphQL Java (ignoring snapshot builds)",
"matchPackageNames": [
"com.graphql-java:{/,}**"
],
"allowedVersions": "/^[0-9]+\\.[0-9]+(\\.[0-9]+)?$/"
},
{
// at most monthly updates (as they tend to happen frequently)
"matchPackageNames": [
"org.onebusaway:onebusaway-gtfs",
"com.google.cloud:libraries-bom",
"com.google.guava:guava",
"io.micrometer:micrometer-registry-prometheus",
"io.micrometer:micrometer-registry-influx"
],
"schedule": "on the 7th through 8th day of the month"
},
{
"groupName": "Update GTFS API code generation in a single PR",
"matchFiles": ["src/main/java/org/opentripplanner/apis/gtfs/generated/package.json"],
"reviewers": ["optionsome", "leonardehrenfried"],
"schedule": "on the 11th through 12th day of the month"
},
{
"description": "in order to keep review burden low, don't update these quite so frequently",
"matchPackageNames": [
"org.apache.lucene:{/,}**",
],
"extends": [
"schedule:quarterly"
]
},
{
"groupName": "mkdocs",
"description": "automerge mkdocs-material every quarter",
"matchPackageNames": [
"mkdocs",
"mkdocs-material"
],
"extends": [
"schedule:quarterly"
],
"automerge": true
},
{
"description": "Automerge logging dependencies in a single PR",
"groupName": "logging dependencies",
"matchPackageNames": [
"org.slf4j:{/,}**",
"ch.qos.logback:{/,}**"
],
"automerge": true,
"schedule": "on the 4th day of the month"
},
{
"description": "give some projects time to publish a changelog before opening the PR",
"matchPackageNames": [
"com.google.dagger:",
"com.fasterxml.jackson"
],
"minimumReleaseAge": "1 week"
},
{
"description": "Geotools takes a while to publish a changelog and since it pulls in JTS it can change the serialization of the graph",
"matchPackageNames": [
"org.geotools:{/,}**"
],
"minimumReleaseAge": "1 week",
"labels": ["skip changelog", "bump serialization id"]
}
],
"timezone": "Europe/Berlin"
}