-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
30 lines (30 loc) · 1.05 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"regexManagers": [
{
"description": "Update _VERSION and _VERSION_TAG variables in install/*.sh file",
"fileMatch": ["^install\\/[^/]+\\.sh$"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION=\"(?<currentValue>.*)\"\\s",
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION_TAG=\"(?<currentValue>.*)\"\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"fileMatch": ["^install/golang.sh$"],
"matchStrings": ["GO_VERSION=\"(?<currentValue>.*)\"\\s"],
"depNameTemplate": "golang/go",
"datasourceTemplate": "github-tags"
}
],
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true
}
]
}