-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
27 lines (26 loc) · 1.09 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", ":rebaseStalePrs"],
"platformAutomerge": true,
"packageRules": [
{
"description": "Automatically merge minor and patch-level updates",
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true,
"automergeType": "branch"
}
],
"regexManagers": [
{
"description": "Update version entries in YAML files",
"fileMatch": [".*y[a]?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)",
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s(?:ENV|ARG) .+?_VERSION=\"?(?<currentValue>.+?)\"?\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v(?<version>.*)${{/if}}"
}
],
"prHourlyLimit": 10
}