forked from VOICEVOX/voicevox_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
90 lines (87 loc) · 2.23 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
],
timezone: "Asia/Tokyo",
separateMajorMinor: false,
dependencyDashboardApproval: true, // 万が一`packageRules`の網羅性に穴ができた場合に備え
packageRules: [
// `separateMajorMinor`を無効化した上で次の二つのgroupにすべてをまとめる。
//
// * "major dependencies" (`renovate/major-dependencies`)
// * "non-major dependencies" (`renovate/non-major-dependencies`)
//
// バージョン0.y.z (y≧1)のyとバージョン0.0.zのzの変更は"major dependencies"の方に含むようにする。
// メジャーバージョンの更新
{
groupName: "major dependencies",
matchUpdateTypes: [
"major",
],
dependencyDashboardApproval: false,
},
{
groupName: "major dependencies",
matchUpdateTypes: [
"minor",
],
matchCurrentVersion: "/^v?0\\./",
dependencyDashboardApproval: false,
},
{
groupName: "major dependencies",
matchUpdateTypes: [
"patch",
],
matchCurrentVersion: "/^v?0\\.0\\./",
dependencyDashboardApproval: false,
},
// メジャーバージョン以外の更新
{
groupName: "non-major dependencies",
matchUpdateTypes: [
"minor",
],
matchCurrentVersion: "!/^v?0\\./",
dependencyDashboardApproval: false,
},
{
groupName: "non-major dependencies",
matchUpdateTypes: [
"patch",
],
matchCurrentVersion: "!/^v?0\\.0\\./",
dependencyDashboardApproval: false,
},
// GHAのrunnerに対しては無効化する
{
matchDatasources: [
"github-runners",
],
matchPackageNames: [
"windows",
"macos",
"ubuntu",
],
enabled: false,
},
],
cargo: {
rangeStrategy: "bump",
},
customManagers: [
{
customType: "regex",
fileMatch: [
"^rust-toolchain$",
],
matchStrings: [
"(?<currentValue>\\d+\\.\\d+\\.\\d+)",
],
depNameTemplate: "Rust",
packageNameTemplate: "rust-lang/rust",
datasourceTemplate: "github-tags",
},
],
}