generated from cloudnative-pg/cnpg-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
renovate.json5
73 lines (73 loc) · 2.33 KB
/
renovate.json5
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":gitSignOff",
":semanticCommitType(chore)",
":labels(automated,no-issue)",
"customManagers:githubActionsVersions",
":automergeMinor",
":automergeDigest"
],
"gomod": {
// Do not manage the dagger go.mod file
"ignorePaths": ["dagger/gotest/go.mod"],
},
"postUpdateOptions": [
"gomodTidy"
],
"semanticCommits": "enabled",
"commitBodyTable": true,
// Allow renovate to update the following types of dependencies in the Taskfile.yml:
// - digests for env variables ending in _SHA
// - versions for env variables ending in _VERSION
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^Taskfile\\.yml$)"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: currentValue=(?<currentValue>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_SHA\\s*:\\s*[\"']?(?<currentDigest>[a-f0-9]+?)[\"']?\\s",
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
],
"packageRules": [
{
"matchDatasources": [
"go"
],
"matchPackageNames": [
// Avoid k8s dependencies from being grouped with other dependencies. We want to be careful
// with how we update them, since we may get indirect upgrades in cloudnative-pg.
"!/k8s.io/"
],
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"groupName": "all non-major go dependencies"
},
{
"matchDatasources": [
"git-refs"
],
"matchPackageNames": [
"https://github.com/cloudnative-pg/daggerverse"
],
"matchUpdateTypes": [
"digest"
],
"groupName": "all cloudnative-pg daggerverse dependencies"
},
{
"matchUpdateTypes": [
"minor",
"patch"
],
"matchCurrentVersion": "!/^0/"
}
]
}