Repository navigation
Expand file tree
/
Copy pathrenovate.json5
More file actions
150 lines (150 loc) · 4.19 KB
/
Copy pathrenovate.json5
File metadata and controls
150 lines (150 loc) · 4.19 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
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:best-practices',
'config:recommended',
'github>grafana/flint#v0.22.15',
],
platformCommit: 'enabled',
semanticCommits: 'enabled',
semanticCommitType: 'deps',
automerge: true,
ignorePaths: [
'**/simpleclient-archive/**',
// old projects
// agent resources packages an OTel API that is the minimum required API version
'**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml',
],
labels: [
'dependencies',
],
mise: {
'updatePinnedDependencies': false
},
packageRules: [
{
description: 'Block Node.js major updates because Node 26 fails the Renovate dependency lint in Flint',
matchManagers: [
'mise',
],
matchDatasources: [
'node-version',
],
matchDepNames: [
'node',
],
matchUpdateTypes: [
'major',
],
enabled: false,
},
{
description: 'Update component-prefixed shared-workflow action tags',
matchManagers: [
'github-actions',
],
matchPackageNames: [
'grafana/shared-workflows',
],
matchCurrentValue: '/^.+[-/]v?\\d+\\.\\d+(?:\\.\\d+)?$/',
overrideDatasource: 'github-tags',
versioning: 'regex:^(?<compatibility>.*)[-/]v?(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?$',
},
{
matchFileNames: [
'mise.toml',
],
matchDepNames: [
'java',
],
matchDepTypes: [
'tools',
],
groupName: 'java temurin',
additionalBranchPrefix: 'temurin-',
},
{
matchFileNames: [
'mise.toml',
],
matchDepNames: [
'java',
],
matchDepTypes: [
'task-native-test-tools',
],
groupName: 'java graalvm',
additionalBranchPrefix: 'graalvm-',
},
{
matchPackageNames: [
'io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha',
],
ignoreUnstable: false,
},
{
enabled: false,
description: 'Ignore internal project modules',
matchPackageNames: [
'/^io\\.prometheus:(prometheus-metrics-bom|examples|example-.+|integration-tests|it-.+)$/',
],
},
{
description: 'Group protobuf-java and protoc together so generated code can be updated in one PR',
matchDepNames: [
'com.google.protobuf:protobuf-java',
'protoc',
],
groupName: 'protobuf',
separateMajorMinor: false,
},
{
description: 'Update the Micrometer typed-descriptor compatibility ref weekly',
matchManagers: [
'custom.regex',
],
matchDatasources: [
'git-refs',
],
matchDepNames: [
'micrometer-metrics/micrometer',
],
matchCurrentValue: 'main',
schedule: [
'on sunday',
],
},
],
customManagers: [
{
customType: 'regex',
description: 'update _VERSION variables in mise.toml',
managerFilePatterns: [
'/^mise\\.toml$/',
],
matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))?(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s.+?_VERSION\\s*=\\s*"?(?<currentValue>[^@"]+?)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"?\\s',
],
},
{
customType: 'regex',
description: 'track the latest Micrometer release for upstream compatibility',
managerFilePatterns: [
'/^\\.github\\/workflows\\/micrometer-compatibility\\.yml$/',
],
matchStrings: [
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) packageName=(?<packageName>\\S+)\\n\\s*ref:\\s*(?<currentValue>v[0-9][^\\s]*)',
],
},
{
customType: 'regex',
description: 'pin the Micrometer typed-descriptor compatibility ref',
managerFilePatterns: [
'/^\\.github\\/workflows\\/micrometer-compatibility\\.yml$/',
],
matchStrings: [
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) packageName=(?<packageName>\\S+) currentValue=(?<currentValue>\\S+)\\n\\s*ref:\\s*(?<currentDigest>[a-f0-9]{40})',
],
},
],
}