-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy path.renovaterc.json5
More file actions
48 lines (48 loc) · 1.77 KB
/
.renovaterc.json5
File metadata and controls
48 lines (48 loc) · 1.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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>hydazz/renovate-config"],
customManagers: [
{
customType: "regex",
description: "Process Annotations in Docker Bake",
managerFilePatterns: ["/(^|/)docker-bake\\.hcl$/"],
matchStrings: [
'datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\\n.+ = "(?<currentValue>[^"]+)"',
],
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
},
{
customType: "regex",
description: "Process Annotations in Dockerfiles",
managerFilePatterns: ["/(^|/)Dockerfile$/"],
matchStrings: [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\\n.+(:\\s|=)(&\\S+\\s)?(?<currentValue>\\S+)",
],
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
},
],
packageRules: [
{
description: ["Release Rules for Image Updates"],
commitMessageExtra: "( {{currentVersion}} → {{newVersion}} )",
commitMessageTopic: "{{depName}}",
matchFileNames: ["docker-bake.hcl", "Dockerfile"],
semanticCommitType: "release",
},
{
description: ["Auto-merge Bake Updates"],
matchFileNames: ["docker-bake.hcl"],
automerge: true,
automergeType: "pr",
ignoreTests: false,
},
{
description: ["Manual Review for Toolchain Updates"],
matchFileNames: ["docker-bake.hcl"],
matchDepNames: ["nodejs/node", "astral-sh/uv"],
automerge: false,
},
],
}