-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json
More file actions
75 lines (75 loc) · 2.04 KB
/
Copy pathrenovate.json
File metadata and controls
75 lines (75 loc) · 2.04 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "helpers:pinGitHubActionDigests", "docker:pinDigests"],
"minimumReleaseAge": "1 day",
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"minimumReleaseAge": "0"
},
"nix": {
"enabled": true
},
"postUpdateOptions": ["gomodTidy"],
"packageRules": [
{
"matchManagers": ["gomod"],
"matchDepTypes": ["golang"],
"rangeStrategy": "bump"
},
{
"matchDatasources": ["docker", "golang-version"],
"matchPackageNames": ["go", "golang"],
"groupName": "golang version sync",
"groupSlug": "go-version"
},
{
"matchPackageNames": [
"golangci/golangci-lint",
"github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
],
"groupName": "golangci-lint"
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^\\.github/workflows/.+\\.ya?ml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+version: (?<currentValue>\\S+)"
],
"versioningTemplate": "semver"
},
{
"customType": "regex",
"managerFilePatterns": ["/(^|/)flake\\.nix$/"],
"matchStrings": [
"goVersion\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+\\.\\d+)\""
],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"managerFilePatterns": [
"Makefile"
],
"matchStrings": [
"DEV_KIT_VERSION := (?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "opendefensecloud/dev-kit",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"managerFilePatterns": [
"tools.lock"
],
"matchStrings": [
"(?<depName>[^\\s]+) (?<packageName>[^@]+)@(?<currentValue>v?[^\\s]+)"
],
"versioningTemplate": "semver",
"datasourceTemplate": "go"
}
]
}