-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
renovate.json
33 lines (33 loc) · 1.15 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":maintainLockFilesWeekly"],
"prConcurrentLimit": 5,
"packageRules": [
{
"matchManagers": ["dockerfile", "woodpecker"],
"labels": ["chore 🧰"]
},
{
"description": "Automerge renovate updates",
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [".woodpecker/.+\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s.*_VERSION=(?<currentValue>.*)\\s"
]
},
{
"customType": "regex",
"fileMatch": ["charts/.*Chart.yaml"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\sappVersion: (?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}