-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json
More file actions
100 lines (100 loc) · 3.33 KB
/
renovate.json
File metadata and controls
100 lines (100 loc) · 3.33 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
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
91
92
93
94
95
96
97
98
99
100
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":configMigration",
":preserveSemverRanges",
"abandonments:recommended",
"group:all",
"packages:linters",
"schedule:weekly"
],
"enabled": true,
"automerge": true,
"automergeType": "branch",
"ignoreTests": true,
"pinDigests": false,
"separateMajorMinor": false,
"separateMinorPatch": false,
"ignoreUnstable": true,
"prConcurrentLimit": 10,
"respectLatest": true,
"abandonmentThreshold": "2 years",
"lockFileMaintenance": {
"enabled": true,
"automerge": true,
"commitMessageAction": "Update",
"extends": ["schedule:monthly"]
},
"labels": ["dependencies"],
"timezone": "Europe/Berlin",
"pre-commit": {
"enabled": true
},
"npm": {
"enabled": true
},
"packageRules": [
{
"description": "Automerge all stable (non-0.x) updates via branch",
"matchCurrentVersion": "!/^0/",
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"]
},
{
"description": "Require dashboard approval for 0.x major bumps",
"matchCurrentVersion": "/^0/",
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true,
"automerge": false
},
{
"description": "Automerge linters and formatters aggressively",
"matchCategories": ["linters"],
"automerge": true,
"automergeType": "branch",
"schedule": ["at any time"]
}
],
"customManagers": [
{
"customType": "jsonata",
"datasourceTemplate": "npm",
"depNameTemplate": "@biomejs/biome",
"fileFormat": "json",
"managerFilePatterns": ["**/biome.{json,jsonc}"],
"matchStrings": ["{\"currentValue\": $split($.\"$schema\",(\"/\"))[-2]}"]
},
{
"customType": "regex",
"managerFilePatterns": [
"**/[Dd]ockerfile*",
"**/[Cc]ontainerfile*",
"**/*.[Dd]ockerfile*",
"**/*.[Cc]ontainerfile*"
],
"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(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"customType": "regex",
"managerFilePatterns": [
"/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/",
"/(^|/)action\\.ya?ml$/"
],
"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+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"autoReplaceStringTemplate": "\"@tsconfig/node{{{major}}}/tsconfig.json\"",
"currentValueTemplate": "{{{major}}}",
"customType": "regex",
"datasourceTemplate": "npm",
"managerFilePatterns": ["**/{j,t}sconfig.json", "**/{j,t}sconfig.*.json"],
"matchStrings": ["\"(?<depName>@tsconfig/node(?<major>\\d+))/tsconfig\\.json\""]
}
]
}