generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
renovate.json5
77 lines (77 loc) · 1.94 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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
labels: ["run-all"],
allowedPostUpgradeCommands: ["pnpm install"],
extends: [
"config:recommended",
":semanticCommits",
":semanticCommitTypeAll(chore)",
":semanticCommitScope(deps)",
"group:allNonMajor",
"schedule:earlyMondays",
],
constraints: {
"node": ">=22.7.0"
},
"js": {
"managerBranchPrefix": "js-"
},
"java": {
"managerBranchPrefix": "java-"
},
lockFileMaintenance: {
enabled: true, // Automatically update lock files like pnpm-lock.yaml
},
postUpdateOptions: ["gomodTidy", "pnpmDedupe"],
packageRules: [
{
matchUpdateTypes: ["minor", "patch"],
automerge: true,
},
{
matchPackageNames: [
"jbr",
"ktfmt",
"golangci-lint",
"svu",
"lefthook", // Everything after 1.6.14 is broken
"github.com/tliron/kutil", // This requires go 1.23 to move to the next version
],
matchManagers: ["hermit"],
enabled: false,
},
{
matchPackageNames: [
"openjdk", // We don't want automatic major version updates, just minors
],
matchManagers: ["hermit"],
matchUpdateTypes: ["major"],
enabled: false,
},
{
matchFileNames: ["**/testdata/**/go.mod"],
enabled: false,
},
{
matchPackageNames: [
"@bufbuild/protobuf", // We can't update this until we update buf
"@bufbuild/protoc-gen-es", // We can't update this until we update buf
"codemirror",
"codemirror-json-schema",
],
enabled: false,
matchFileNames: ["frontend/console/**", "extensions/**"],
},
{
matchPackageNames: ["connectrpc.com/connect"],
enabled: false,
},
{
"matchPaths": ["frontend/console/**", "frontend/vscode/**"],
"postUpgradeTasks": {
"commands": ["pnpm install"],
"fileFilters": ["pnpm-lock.yaml"]
}
}
],
}