Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
161 lines (161 loc) · 5.34 KB
/
Copy pathrenovate.json
File metadata and controls
161 lines (161 loc) · 5.34 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":disableRateLimiting",
":enableVulnerabilityAlerts",
":maintainLockFilesDisabled",
":separateMultipleMajorReleases",
"customManagers:biomeVersions",
"customManagers:dockerfileVersions"
],
"labels": ["dependency"],
"minimumReleaseAge": "1 day",
"minimumReleaseAgeBehaviour": "timestamp-optional",
"internalChecksFilter": "strict",
"gitIgnoredAuthors": [
"41898282+github-actions[bot]@users.noreply.github.com"
],
"nuget": {
"ignorePaths": ["**/test/**"]
},
"packageRules": [
{
"matchDepTypes": ["engines"],
"rangeStrategy": "auto"
},
{
"description": "cdxgen images: separate minor and patch releases, required for the following rules to work correctly",
"matchDatasources": ["docker"],
"matchFileNames": ["ci/**/Dockerfile.*"],
"extends": [":separatePatchReleases"],
"automerge": true,
"automergeType": "pr",
"rebaseWhen": "conflicted"
},
{
"description": "cdxgen images: exclude major version updates for images pinned to a specific major version by filename convention",
"matchDatasources": ["docker"],
"matchFileNames": ["/ci\\/.*\\/Dockerfile.*\\d+$/"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "cdxgen images: exclude major and minor version updates for images pinned to a specific major and minor version by filename convention",
"matchDatasources": ["docker"],
"matchFileNames": ["/ci\\/.*\\/Dockerfile.*\\d+\\.\\d+$/"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"description": "cdxgen images: exclude major, minor and patch version updates for images pinned to a specific major and minor version by filename convention",
"matchDatasources": ["docker"],
"matchFileNames": ["/ci\\/.*\\/Dockerfile.*\\d+\\.\\d+\\.\\d+$/"],
"matchUpdateTypes": ["major", "minor", "patch"],
"enabled": false
},
{
"description": "cdxgen images: limit sdk updates to non-major updates as we explicitly set these versions",
"matchDatasources": [
"golang-version",
"gradle-version",
"maven",
"node-version"
],
"matchFileNames": ["ci/**/*"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Limit .versions/* files updates to non-major update types as we explicitly set major versions",
"matchManagers": ["custom.regex"],
"matchFileNames": [".versions/*"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": ".versions/nvm can update minor and patch as well",
"matchManagers": ["custom.regex"],
"matchFileNames": [".versions/nvm"],
"matchUpdateTypes": ["major", "minor", "patch"]
},
{
"description": "Automerge all GitHub Actions",
"extends": ["helpers:pinGitHubActionDigests"],
"automerge": true,
"automergeType": "pr",
"rebaseWhen": "conflicted"
},
{
"description": "Automerge digest pins for latest tags",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["digest"],
"matchCurrentValue": "latest",
"automerge": true,
"automergeType": "pr",
"rebaseWhen": "conflicted"
},
{
"description": "Disable digest pins for cyclonedx/cdxgen-ruby-builder",
"matchDatasources": ["docker"],
"matchPackageNames": ["ghcr.io/cdxgen/cdxgen-ruby-builder"],
"matchUpdateTypes": ["pinDigest"],
"enabled": false
},
{
"description": "Wait 7 days before updating Node.js versions",
"matchPackageNames": ["/(?:^|/)node$/"],
"minimumReleaseAge": "7 days"
},
{
"matchPackageNames": ["@biomejs/**"],
"groupName": "@biomejs/biome"
},
{
"matchManagers": ["npm"],
"groupName": "cdxgen plugins",
"matchPackageNames": ["@cdxgen/cdxgen-plugins-bin**"]
},
{
"matchManagers": ["npm"],
"groupName": "string-width",
"matchPackageNames": ["/^string-width/"]
},
{
"matchManagers": ["npm"],
"groupName": "strip-ansi",
"matchPackageNames": ["/^strip-ansi/"]
},
{
"matchManagers": ["npm"],
"groupName": "wrap-ansi",
"matchPackageNames": ["/^wrap-ansi/"]
},
{
"matchManagers": ["docker"],
"matchPackageNames": ["dependencytrack/**"],
"groupName": "dependencytrack"
}
],
"customManagers": [
{
"description": "Custom manager for devEngines runtime in package.json",
"customType": "jsonata",
"fileFormat": "json",
"managerFilePatterns": ["/^package.json$/"],
"matchStrings": [
"devEngines.runtime.{ \"depName\": name, \"currentValue\": version, \"depType\": \"devDependencies\"}",
"devEngines.packageManager.{ \"depName\": name, \"currentValue\": version, \"depType\": \"packageManager\"}"
],
"datasourceTemplate": "npm"
},
{
"description": "Custom manager to maintain ./versions/* files used within GitHub workflows",
"customType": "regex",
"managerFilePatterns": ["/.versions/.*/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-zA-Z0-9-._]+?) depName=(?<depName>[^\\s]+?)\\s+(?<currentValue>.+?)(\\s)?$"
]
}
]
}