Skip to content

Commit a3fd983

Browse files
authored
Create renovate.json
1 parent d6233dc commit a3fd983

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base",
5+
":semanticCommits",
6+
":preserveSemverRanges",
7+
":rebaseStalePrs"
8+
],
9+
"stabilityDays":7,
10+
"ignorePaths": [],
11+
"labels": ["dependencies"],
12+
"vulnerabilityAlerts":{
13+
"labels":[
14+
"type:security"
15+
],
16+
"stabilityDays":0
17+
},
18+
"separateMajorMinor":false,
19+
"packageRules": [
20+
{
21+
"matchPaths": ["examples/**", "test/**", ".github/**"],
22+
"extends": [":semanticCommitTypeAll(chore)"]
23+
},
24+
{
25+
"matchPaths": ["*", "modules/**"],
26+
"extends": [":semanticCommitTypeAll(fix)"]
27+
},
28+
{
29+
"matchDepTypes": ["module"],
30+
"groupName": "TF modules"
31+
},
32+
{
33+
"matchDepTypes": ["require"],
34+
"groupName": "GO modules",
35+
"postUpdateOptions": ["gomodTidy"]
36+
},
37+
{
38+
"matchPackageNames": ["go"],
39+
"allowedVersions": "<1.19.0",
40+
"postUpdateOptions": ["gomodTidy"]
41+
},
42+
{
43+
"matchPackageNames": ["google", "google-beta"],
44+
"groupName": "terraform googles"
45+
}
46+
],
47+
"regexManagers": [
48+
{
49+
"fileMatch": ["(^|/)Makefile$"],
50+
"matchStrings": ["DOCKER_TAG_VERSION_DEVELOPER_TOOLS := (?<currentValue>.*?)\\n"],
51+
"datasourceTemplate": "docker",
52+
"registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd",
53+
"depNameTemplate": "cft/developer-tools"
54+
},
55+
{
56+
"fileMatch": ["(^|/)build/(int|lint)\\.cloudbuild\\.yaml$"],
57+
"matchStrings": [" _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '(?<currentValue>.*?)'\\n"],
58+
"datasourceTemplate": "docker",
59+
"registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd",
60+
"depNameTemplate": "cft/developer-tools"
61+
}
62+
]
63+
}

0 commit comments

Comments
 (0)