Skip to content

Commit 11f568d

Browse files
committed
format
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 3c93ec6 commit 11f568d

File tree

1 file changed

+30
-54
lines changed

1 file changed

+30
-54
lines changed

.github/renovate.json5

Lines changed: 30 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,49 @@
11
{
2-
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3-
extends: [
4-
'config:best-practices',
5-
'config:recommended',
6-
],
7-
platformCommit: 'enabled',
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["config:best-practices", "config:recommended"],
4+
platformCommit: "enabled",
85
automerge: true,
96
ignorePaths: [
10-
'**/simpleclient-archive/**',
11-
'**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml',
12-
],
13-
labels: [
14-
'dependencies',
7+
"**/simpleclient-archive/**",
8+
// old projects
9+
// agent resources packages an OTel API that is the minimum required API version
10+
"**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml",
1511
],
12+
labels: ["dependencies"],
1613
packageRules: [
1714
{
18-
matchPackageNames: [
19-
'jdx/mise',
20-
],
21-
groupName: 'mise',
22-
schedule: [
23-
'before 4am on monday',
24-
],
15+
matchPackageNames: ["jdx/mise"],
16+
groupName: "mise",
17+
schedule: ["before 4am on monday"],
2518
},
2619
{
27-
matchFileNames: [
28-
'mise.toml',
29-
],
30-
matchDepNames: [
31-
'java',
32-
],
33-
groupName: 'java temurin',
34-
additionalBranchPrefix: 'temurin-',
20+
matchFileNames: ["mise.toml"],
21+
matchDepNames: ["java"],
22+
groupName: "java temurin",
23+
additionalBranchPrefix: "temurin-",
3524
},
3625
{
37-
matchFileNames: [
38-
'.mise/envs/native/mise.toml',
39-
],
40-
matchDepNames: [
41-
'java',
42-
],
43-
groupName: 'java graalvm',
44-
additionalBranchPrefix: 'graalvm-',
26+
matchFileNames: [".mise/envs/native/mise.toml"],
27+
matchDepNames: ["java"],
28+
groupName: "java graalvm",
29+
additionalBranchPrefix: "graalvm-",
4530
},
4631
],
4732
customManagers: [
4833
{
49-
customType: 'regex',
50-
description: 'update mise',
51-
managerFilePatterns: [
52-
'/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/',
53-
'/(^|/)action\\.ya?ml$/',
54-
],
55-
datasourceTemplate: 'github-release-attachments',
56-
packageNameTemplate: 'jdx/mise',
57-
depNameTemplate: 'mise',
58-
matchStrings: [
59-
'jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: ["\']?(?<currentValue>v[.\\d]+)["\']?\\s*\\n\\s*sha256: ["\']?(?<currentDigest>\\w+)["\']?',
60-
],
34+
customType: "regex",
35+
description: "update mise",
36+
managerFilePatterns: ["/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/", "/(^|/)action\\.ya?ml$/"],
37+
datasourceTemplate: "github-release-attachments",
38+
packageNameTemplate: "jdx/mise",
39+
depNameTemplate: "mise",
40+
matchStrings: ["jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?<currentValue>v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?<currentDigest>\\w+)[\"']?"],
6141
},
6242
{
63-
customType: 'regex',
64-
description: 'update super-linter in mise tasks',
65-
managerFilePatterns: [
66-
'/^\\.mise/tasks/.+\\.sh$/',
67-
],
68-
matchStrings: [
69-
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+\\S+_VERSION="(?<currentValue>v\\d+\\.\\d+\\.\\d+)@(?<currentDigest>sha256:[a-f0-9]+)"',
70-
],
43+
customType: "regex",
44+
description: "update super-linter in mise tasks",
45+
managerFilePatterns: ["/^\\.mise/tasks/.+\\.sh$/"],
46+
matchStrings: ['# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+\\S+_VERSION="(?<currentValue>v\\d+\\.\\d+\\.\\d+)@(?<currentDigest>sha256:[a-f0-9]+)"'],
7147
},
7248
],
7349
}

0 commit comments

Comments
 (0)