Skip to content

Commit 3c93ec6

Browse files
chore(config): migrate config .github/renovate.json5
1 parent e9d9f4b commit 3c93ec6

1 file changed

Lines changed: 54 additions & 30 deletions

File tree

.github/renovate.json5

Lines changed: 54 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,73 @@
11
{
2-
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3-
extends: ["config:best-practices", "config:recommended"],
4-
platformCommit: "enabled",
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:best-practices',
5+
'config:recommended',
6+
],
7+
platformCommit: 'enabled',
58
automerge: true,
69
ignorePaths: [
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",
10+
'**/simpleclient-archive/**',
11+
'**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml',
12+
],
13+
labels: [
14+
'dependencies',
1115
],
12-
labels: ["dependencies"],
1316
packageRules: [
1417
{
15-
matchPackageNames: ["jdx/mise"],
16-
groupName: "mise",
17-
schedule: ["before 4am on monday"],
18+
matchPackageNames: [
19+
'jdx/mise',
20+
],
21+
groupName: 'mise',
22+
schedule: [
23+
'before 4am on monday',
24+
],
1825
},
1926
{
20-
matchFileNames: ["mise.toml"],
21-
matchDepNames: ["java"],
22-
groupName: "java temurin",
23-
additionalBranchPrefix: "temurin-",
27+
matchFileNames: [
28+
'mise.toml',
29+
],
30+
matchDepNames: [
31+
'java',
32+
],
33+
groupName: 'java temurin',
34+
additionalBranchPrefix: 'temurin-',
2435
},
2536
{
26-
matchFileNames: [".mise/envs/native/mise.toml"],
27-
matchDepNames: ["java"],
28-
groupName: "java graalvm",
29-
additionalBranchPrefix: "graalvm-",
37+
matchFileNames: [
38+
'.mise/envs/native/mise.toml',
39+
],
40+
matchDepNames: [
41+
'java',
42+
],
43+
groupName: 'java graalvm',
44+
additionalBranchPrefix: 'graalvm-',
3045
},
3146
],
3247
customManagers: [
3348
{
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+)[\"']?"],
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+
],
4161
},
4262
{
43-
customType: "regex",
44-
description: "update super-linter in mise tasks",
45-
fileMatch: ["^\\.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]+)"'],
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+
],
4771
},
4872
],
4973
}

0 commit comments

Comments
 (0)