-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathrenovate.json
More file actions
158 lines (158 loc) · 4.77 KB
/
Copy pathrenovate.json
File metadata and controls
158 lines (158 loc) · 4.77 KB
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":semanticCommitType(chore)"
],
"commitMessagePrefix": "chore(all): ",
"commitMessageAction": "update",
"commitBody": "Signed-off-by: Renovate Bot <bot@renovateapp.com>",
"labels": [
"dependencies"
],
"enabledManagers": [
"maven",
"github-actions",
"mise",
"custom.regex"
],
"prConcurrentLimit": 50,
"prHourlyLimit": 0,
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"platformAutomerge": false,
"ignoreTests": false,
"customManagers": [
{
"customType": "regex",
"description": "Makefile tool pins via inline # renovate: comments (e.g. ACT_UBUNTU_VERSION)",
"managerFilePatterns": [
"Makefile"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: versioning=(?<versioning>\\S+))?\\n[A-Z0-9_]+\\s*[?:]?=\\s*(?<currentValue>\\S+)"
]
},
{
"customType": "regex",
"description": "Tomcat versions in scripts/install-tomcat.sh via inline # renovate: comments",
"managerFilePatterns": [
"scripts/install-tomcat.sh"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: versioning=(?<versioning>\\S+))?\\n[A-Z0-9_]+=\"(?<currentValue>[^\"]+)\""
]
}
],
"vulnerabilityAlerts": {
"labels": [
"security"
],
"automerge": true,
"minimumReleaseAge": "0 days"
},
"packageRules": [
{
"description": "Makefile docker-datasource pins (minlag/mermaid-cli, catthehacker/ubuntu) carry no @sha256 digest. config:best-practices enables docker:pinDigests, which would emit a pinDigest update that collides with and silently suppresses the version bump in the shared custom.regex Makefile manager. Disable digest pinning for these.",
"matchFileNames": [
"Makefile"
],
"matchDatasources": [
"docker"
],
"pinDigests": false
},
{
"description": "Wait 3 days before automerging major updates",
"matchUpdateTypes": [
"major"
],
"minimumReleaseAge": "3 days"
},
{
"description": "Hold mise github-tags tool bumps (aqua: act/trivy/gitleaks) 3 days so the upstream GitHub Release assets publish before the bump PR opens — avoids the tag-before-publish 404 (e.g. trivy v0.71.1, whose release workflow has failed mid-publish before).",
"matchManagers": [
"mise"
],
"matchDatasources": [
"github-tags"
],
"minimumReleaseAge": "3 days"
},
{
"description": "Group GitHub Actions into one PR",
"matchManagers": [
"github-actions"
],
"groupName": "GitHub Actions"
},
{
"description": "Label Java packages",
"matchCategories": [
"java"
],
"addLabels": [
"lang: java"
]
},
{
"description": "Pin JUnit to 5.x: JUnit 6 requires a Java 17 test runtime, but the tomcat9 profile's tests run on Java 11 (the minimum Tomcat 9 / javax.servlet runtime). Same deliberate version-lock as the Jetty/Servlet major guards below.",
"matchPackageNames": [
"/^org\\.junit/"
],
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"description": "Tomcat 9 line in install-tomcat.sh — keep TOMCAT_9_VERSION on 9.0.x",
"matchPackageNames": [
"org.apache.tomcat:tomcat"
],
"matchCurrentValue": "/^9\\./",
"allowedVersions": "/^9\\./"
},
{
"description": "Tomcat 10 line in install-tomcat.sh — keep TOMCAT_10_VERSION on 10.1.x",
"matchPackageNames": [
"org.apache.tomcat:tomcat"
],
"matchCurrentValue": "/^10\\./",
"allowedVersions": "/^10\\./"
},
{
"description": "Tomcat 11 line in install-tomcat.sh — keep TOMCAT_11_VERSION on 11.0.x",
"matchPackageNames": [
"org.apache.tomcat:tomcat"
],
"matchCurrentValue": "/^11\\./",
"allowedVersions": "/^11\\./"
},
{
"description": "Disable Jetty major updates (version tied to Tomcat profile)",
"matchPackageNames": [
"org.eclipse.jetty:jetty-maven-plugin",
"org.eclipse.jetty.ee10:jetty-ee10-maven-plugin"
],
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"description": "Disable Servlet API major updates (version tied to Tomcat profile)",
"matchPackageNames": [
"javax.servlet:javax.servlet-api",
"javax.servlet:jstl",
"jakarta.servlet:jakarta.servlet-api",
"org.glassfish.web:jakarta.servlet.jsp.jstl"
],
"matchUpdateTypes": [
"major"
],
"enabled": false
}
]
}