-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
47 lines (47 loc) · 1.62 KB
/
Copy pathrenovate.json
File metadata and controls
47 lines (47 loc) · 1.62 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices"],
"dependencyDashboardTitle": "Renovate Dashboard",
"dependencyDashboardApproval": true,
"rebaseWhen": "behind-base-branch",
"timezone": "UTC",
"enabledManagers": ["dockerfile", "github-actions", "custom.regex"],
"dockerfile": {
"managerFilePatterns": ["/^[Dd]ocker[Ff]ile[^/]*$/"]
},
"github-actions": {
"managerFilePatterns": ["/^\\.github/(?:workflows|actions)/.+\\.ya?ml$/"]
},
"packageRules": [
{
"description": "Group all dependency updates into one PR",
"matchPackageNames": ["*"],
"groupName": "all dependencies",
"groupSlug": "all-deps"
},
{
"matchPackageNames": ["@anthropic-ai/claude-code"],
"minimumReleaseAge": "0 days"
}
],
"customManagers": [
{
"customType": "regex",
"description": "Dockerfile ARG version pins with renovate annotations",
"managerFilePatterns": ["/^[Dd]ocker[Ff]ile[^/]*$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: versioning=(?<versioning>\\S+))?\\nARG [A-Z_]+=(?<currentValue>\\S+)"
]
},
{
"customType": "regex",
"description": "Dockerfile ARG commit hash pins (git-refs)",
"managerFilePatterns": ["/^[Dd]ocker[Ff]ile[^/]*$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) packageName=(?<packageName>\\S+)(?: currentValue=(?<currentValue>\\S+))?\\nARG [A-Z_]+=(?<currentDigest>[a-f0-9]{40})"
],
"currentValueTemplate": "main",
"versioningTemplate": "git"
}
]
}