-
Notifications
You must be signed in to change notification settings - Fork 0
/
.renovaterc.json5
27 lines (27 loc) · 1.28 KB
/
.renovaterc.json5
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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
customManagers: [
{
customType: "regex",
fileMatch: ["^lib/private/grype_toolchain.bzl$"],
matchStringsStrategy: "recursive",
matchStrings: [
"_binaries\\W=\\W({[^}]+)",
'https://github.com/(?<packageName>[^/]+/(?<depName>[^/]+))/releases/download/(?<currentValue>[^/]+)/grype_\\d+\\.\\d+\\.\\d+(?<depType>[^"]*)",\\W"(?<currentDigest>[^"]+)"',
],
autoReplaceStringTemplate: 'https://github.com/{{packageName}}/releases/download/{{newValue}}/grype_{{replace "v" "" newValue}}{{depType}}", "{{newDigest}}"',
datasourceTemplate: "github-release-attachments",
},
{
customType: "regex",
fileMatch: ["^lib/private/dive_toolchain.bzl$"],
matchStringsStrategy: "recursive",
matchStrings: [
"_binaries\\W=\\W({[^}]+)",
'https://github.com/(?<packageName>[^/]+/(?<depName>[^/]+))/releases/download/(?<currentValue>[^/]+)/dive_\\d+\\.\\d+\\.\\d+(?<depType>[^"]*)",\\W"(?<currentDigest>[^"]+)"',
],
autoReplaceStringTemplate: 'https://github.com/{{packageName}}/releases/download/{{newValue}}/dive_{{replace "v" "" newValue}}{{depType}}", "{{newDigest}}"',
datasourceTemplate: "github-release-attachments",
},
],
}