-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrenovate.json5
47 lines (47 loc) · 1.86 KB
/
renovate.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
$schema : "https://docs.renovatebot.com/renovate-schema.json",
extends : [
"config:best-practices",
"schedule:weekly",
],
lockFileMaintenance : {
enabled : true
},
packageRules : [
{
matchFileNames : ["**/mise.toml", "**/mise.lock"],
matchUpdateTypes : ["patch", "minor"],
groupName : "dev tools (non-major)",
// NB: Neither mise manager nor the custom one below handle "rolling versions" correctly;
// mise.lock is not supported at all. So, manual work is needed, unfortunately.
//automerge : true,
//automergeType : "branch"
},
{
matchManagers : ["pep621", "github-actions"],
matchUpdateTypes : ["lockFileMaintenance", "digest", "patch", "minor"],
groupName : "dev dependencies (non-major)",
automerge : true,
automergeType : "branch"
},
],
customManagers : [
{
description : [
"Until the mise managers is mature enough, use comment syntax similar to packages in Dockerfiles",
"refs: https://docs.renovatebot.com/presets-customManagers/#custommanagersdockerfileversions",
"refs: https://github.com/jdx/mise/discussions/1940",
],
customType : "regex",
fileMatch : [
// cf. https://mise.jdx.dev/configuration.html#mise-toml
"(^|/)\.?mise(\.[^.]+)*\.toml",
"(^|/)\.?mise/config\.toml",
"(^|/)\.?mise/conf.d/.+\.toml",
],
matchStrings : [
"# renovate: datasource=(?<datasource>[a-zA-Z0-9-._]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s[\"']?[^\"'=]+[\"']?\\s*=\\s*[\"']?(?<currentValue>.+?)[\"']?\\s",
],
},
],
}