File tree Expand file tree Collapse file tree 1 file changed +73
-0
lines changed
Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : "https://docs.renovatebot.com/renovate-schema.json" ,
3+ "extends" : [
4+ "config:recommended" ,
5+ ":gitSignOff" ,
6+ ":semanticCommitType(chore)" ,
7+ ":labels(automated,no-issue)" ,
8+ "customManagers:githubActionsVersions" ,
9+ ":automergeMinor" ,
10+ ":automergeDigest"
11+ ] ,
12+ "gomod" : {
13+ // Do not manage the dagger go.mod file
14+ "ignorePaths" : [ "dagger/gotest/go.mod" ] ,
15+ } ,
16+ "postUpdateOptions" : [
17+ "gomodTidy"
18+ ] ,
19+ "semanticCommits" : "enabled" ,
20+ "commitBodyTable" : true ,
21+ // Allow renovate to update the following types of dependencies in the Taskfile.yml:
22+ // - digests for env variables ending in _SHA
23+ // - versions for env variables ending in _VERSION
24+ "customManagers" : [
25+ {
26+ "customType" : "regex" ,
27+ "fileMatch" : [
28+ "(^Taskfile\\.yml$)"
29+ ] ,
30+ "matchStrings" : [
31+ "# 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" ,
32+ "# 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"
33+ ]
34+ }
35+ ] ,
36+ "packageRules" : [
37+ {
38+ "matchDatasources" : [
39+ "go"
40+ ] ,
41+ "matchPackageNames" : [
42+ // Avoid k8s dependencies from being grouped with other dependencies. We want to be careful
43+ // with how we update them.
44+ "!/k8s.io/"
45+ ] ,
46+ "matchUpdateTypes" : [
47+ "minor" ,
48+ "patch" ,
49+ "digest"
50+ ] ,
51+ "groupName" : "all non-major go dependencies"
52+ } ,
53+ {
54+ "matchDatasources" : [
55+ "git-refs"
56+ ] ,
57+ "matchPackageNames" : [
58+ "https://github.com/cloudnative-pg/daggerverse"
59+ ] ,
60+ "matchUpdateTypes" : [
61+ "digest"
62+ ] ,
63+ "groupName" : "all cloudnative-pg daggerverse dependencies"
64+ } ,
65+ {
66+ "matchUpdateTypes" : [
67+ "minor" ,
68+ "patch"
69+ ] ,
70+ "matchCurrentVersion" : "!/^0/"
71+ }
72+ ]
73+ }
You can’t perform that action at this time.
0 commit comments