-
Notifications
You must be signed in to change notification settings - Fork 4
/
renovate.json
93 lines (93 loc) · 3.03 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":automergeDigest",
":automergeMinor",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)"
],
"assignees": ["maxbrunet"],
"internalChecksFilter": "strict",
"platformAutomerge": true,
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"packageRules": [
{
"description": "One week stability period for Go packages",
"matchDatasources": ["go"],
"minimumReleaseAge": "7 days"
},
{
"description": "Bump minimum Go version",
"matchManagers": ["gomod"],
"matchDepTypes": ["golang"],
"rangeStrategy": "replace"
},
{
"description": "Group packages from aws-sdk-go-v2 monorepo together",
"matchSourceUrls": ["https://github.com/aws/aws-sdk-go-v2{/,}**"],
"matchUpdateTypes": ["digest", "patch", "minor", "major"],
"groupName": "aws-sdk-go-v2 monorepo"
},
{
"description": "Exclude retracted Prometheus versions: https://github.com/renovatebot/renovate/issues/13012",
"matchPackageNames": ["github.com/prometheus/prometheus"],
"allowedVersions": "<1"
},
{
"description": "Customize golang updates commit message",
"matchDatasources": ["golang-version"],
"matchPackageNames": ["go"],
"commitMessageTopic": "Go"
},
{
"matchDepTypes": ["require"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["go"],
"matchUpdateTypes": ["patch", "minor", "major"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["quay.io/prometheus/busybox"],
"semanticCommitType": "build"
}
],
"customManagers": [
{
"description": "Update version keys in YAML files",
"customType": "regex",
"fileMatch": ["(^|/).*.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>[^\\s]+?)(?: packageName=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s*[\\w-_]*version: (?<currentValue>.*?)\\s"
]
},
{
"description": "Update base image in .goreleaser.yml",
"customType": "regex",
"fileMatch": ["(^|/)\\.goreleaser\\.ya?ml$"],
"matchStrings": [
"base_image:\\s+[\"']?(?<depName>\\S+?)(?::(?<currentValue>\\S+?))?(?:@(?<currentDigest>sha256:\\S+))?[\"']?\\s"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"description": "Update Golang in .go-version file",
"customType": "regex",
"fileMatch": ["(^|/)\\.go-version$"],
"matchStrings": ["^\\s*(?<currentValue>.+?)\\s*$"],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version"
},
{
"description": "Update semantic-release plugins",
"customType": "regex",
"fileMatch": ["^\\.github/workflows/build\\.yml$"],
"matchStrings": ["\\s{12}(?<depName>\\S+?)@(?<currentValue>.+?)\\s"],
"datasourceTemplate": "npm"
}
]
}