-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.json
More file actions
207 lines (207 loc) · 6.3 KB
/
Copy pathdefault.json
File metadata and controls
207 lines (207 loc) · 6.3 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"mergeConfidence:all-badges",
":semanticCommits"
],
"dependencyDashboard": false,
"rebaseWhen": "behind-base-branch",
"recreateWhen": "always",
"minimumReleaseAge": "1 day",
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 6am on monday"],
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash"
},
"labels": [
"dependencies"
],
"platformAutomerge": true,
"onboardingConfig": {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>FerrLabs/.github"
]
},
"onboardingConfigFileName": "renovate.json",
"onboardingPrTitle": "chore: configure Renovate (extend FerrLabs preset)",
"vulnerabilityAlerts": {
"enabled": true,
"labels": [
"security"
],
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"minimumReleaseAge": "0",
"prPriority": 10
},
"osvVulnerabilityAlerts": true,
"packageRules": [
{
"description": "FerrLabs npm packages — trust them, scan often, merge without delay. Override registry to GHCR (npm.pkg.github.com) since these packages aren't on npmjs.org. Auth comes from RENOVATE_HOST_RULES env in the runner workflow. internalChecksFilter:none skips the stability-days gate inherited from the global default.",
"matchPackagePatterns": [
"^@ferrlabs/"
],
"registryUrls": [
"https://npm.pkg.github.com"
],
"schedule": [
"* * * * *"
],
"minimumReleaseAge": "0",
"internalChecksFilter": "none",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"groupName": "FerrLabs npm packages"
},
{
"description": "FerrLabs Kit crates pinned via git rev — scan often, merge without delay. Targets the depName the customManager below stamps (`FerrLabs/Kit`); `matchPackageNames` would compare against the packageName field (the full URL), so use matchDepNames here. internalChecksFilter:none skips stability-days.",
"matchManagers": [
"custom.regex"
],
"matchDepNames": [
"FerrLabs/Kit"
],
"schedule": [
"* * * * *"
],
"minimumReleaseAge": "0",
"internalChecksFilter": "none",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"groupName": "FerrLabs Kit"
},
{
"description": "FerrLabs Cargo crates published from Kit (`ferrlabs-*`) — same trust as @ferrlabs/ npm packages. No wait, automerge.",
"matchManagers": [
"cargo"
],
"matchDepPatterns": [
"^ferrlabs-"
],
"schedule": [
"* * * * *"
],
"minimumReleaseAge": "0",
"internalChecksFilter": "none",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"groupName": "FerrLabs Cargo crates"
},
{
"description": "Third-party npm — wait 1 day after release before opening PR (supply-chain quarantine), auto-merge only if mergeConfidence is high/very-high",
"matchManagers": [
"npm"
],
"excludePackagePatterns": [
"^@ferrlabs/"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"matchMergeConfidence": [
"high",
"very high"
],
"minimumReleaseAge": "1 day",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash"
},
{
"description": "Third-party Cargo — wait 1 day after release before opening PR (no merge confidence on crates.io, so this is the main safety gate)",
"matchManagers": [
"cargo"
],
"excludeDepNames": [
"/^ferrlabs-/"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"minimumReleaseAge": "1 day",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash"
},
{
"description": "GitHub Actions — wait 3 days after release (action authors often re-tag), grouped + auto-merge weekly",
"matchManagers": [
"github-actions"
],
"schedule": [
"before 6am on monday"
],
"minimumReleaseAge": "3 days",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"groupName": "GitHub Actions"
},
{
"description": "Dockerfile base images — wait 3 days, grouped + auto-merge weekly",
"matchManagers": [
"dockerfile"
],
"schedule": [
"before 6am on monday"
],
"minimumReleaseAge": "3 days",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"groupName": "Docker images"
},
{
"description": "Kubernetes infra (Flux HelmReleases, Helm charts, manifest image tags) — auto-merge patch+minor after the 1-day quarantine. Majors stay manual (rule below).",
"matchManagers": [
"flux",
"helmv3",
"helm-values",
"kubernetes"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"minimumReleaseAge": "1 day",
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash"
},
{
"description": "Major updates — always manual",
"matchUpdateTypes": [
"major"
],
"automerge": false
}
],
"customManagers": [
{
"customType": "regex",
"description": "FerrLabs Kit crates pinned via git rev = ... in Cargo.toml. Tracks the HEAD of `main` via the git-refs datasource — Kit publishes per-crate tags (ferrlabs-types-v0.4.0 etc.), not a single repo-wide semver tag, so github-tags doesn't fit. git-refs returns the SHA of refs/heads/main and Renovate bumps the rev= to it.",
"fileMatch": [
"(^|/)Cargo\\.toml$"
],
"matchStrings": [
"ferrlabs-[a-z\\-]+\\s*=\\s*\\{\\s*git\\s*=\\s*\"https://github.com/FerrLabs/Kit\\.git\"\\s*,\\s*rev\\s*=\\s*\"(?<currentDigest>[a-f0-9]+)\"\\s*\\}"
],
"currentValueTemplate": "main",
"depNameTemplate": "FerrLabs/Kit",
"packageNameTemplate": "https://github.com/FerrLabs/Kit",
"datasourceTemplate": "git-refs"
}
]
}