-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json
More file actions
54 lines (54 loc) · 1.78 KB
/
renovate.json
File metadata and controls
54 lines (54 loc) · 1.78 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":separateMajorReleases",
":pinAllExceptPeerDependencies",
"docker:pinDigests",
"helpers:pinGitHubActionDigests"
],
"automerge": true,
"packageRules": [
{
"matchManagers": ["gomod"],
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"rangeStrategy": "replace",
"groupName": "Go Modules",
"minimumReleaseAge": null
},
{
"matchManagers": ["gomod"],
"matchDepNames": ["go"],
"matchDepTypes": ["golang"],
"rangeStrategy": "replace"
}
],
"gomod": {
"enabled": true
},
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^admin/www/admin/index\\.html$/"],
"matchStrings": ["https://cdnjs\\.cloudflare\\.com/ajax/libs/font-awesome/(?<currentValue>[^/]+)/"],
"datasourceTemplate": "cdnjs",
"depNameTemplate": "font-awesome"
},
{
"customType": "regex",
"managerFilePatterns": ["/^admin/www/admin/index\\.html$/"],
"matchStrings": ["https://cdn\\.jsdelivr\\.net/npm/chart\\.js@(?<currentValue>[^/\"']+)"],
"datasourceTemplate": "npm",
"depNameTemplate": "chart.js"
},
{
"customType": "regex",
"managerFilePatterns": ["/^admin/main\\.go$/", "/^admin/www/admin/index\\.html$/", "/^admin/www/admin/sw\\.js$/"],
"matchStrings": ["const Version\\s+=\\s+\"v(?<currentValue>\\d+\\.\\d+\\.\\d+)\"", "\\?v=(?<currentValue>\\d+\\.\\d+\\.\\d+)", "CACHE_NAME = 'shielddns-admin-v(?<currentValue>\\d+\\.\\d+\\.\\d+)'"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "ShieldDNS",
"packageNameTemplate": "FaserF/ShieldDNS",
"versioningTemplate": "semver"
}
]
}