-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
54 lines (54 loc) · 1.75 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"timezone": "America/Los_Angeles",
"configMigration": true,
"commitBody": "{{{releaseNotes}}}",
"rollbackPrs": true,
"packageRules": [
{
"description": "Automerge all yarn & prettier changes",
"matchPackageNames": ["prettier", "yarn"],
"automerge": true,
"automergeSchedule": ["every day"]
},
{
"description": "Auto-merge all patch updates - they have been safe so far",
"matchUpdateTypes": ["patch"],
"minimumReleaseAge": "3 days",
"automerge": true,
"automergeType": "branch"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["(^|/|\\.)Earthfile$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)(\\s+versioning=(?<versioning>.*?))?\\s+ARG\\s+(?:--global\\s+)?.+_VERSION=(?<currentValue>.*?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"fileMatch": ["^earthly\\.sh$"],
"datasourceTemplate": "docker",
"depNameTemplate": "earthly/earthly",
"matchStrings": ["earthly\\/earthly:(?<currentValue>.*?)\\s"]
},
{
"customType": "regex",
"fileMatch": ["^.*\\.yml$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)\\s+version:\\s+\"(?<currentValue>.*?)\""
]
},
{
"customType": "regex",
"datasourceTemplate": "pypi",
"depNameTemplate": "ansible-core",
"fileMatch": ["^ansible/meta/runtime\\.yml$"],
"matchStrings": ["requires_ansible:\\s*\">=(?<currentValue>.*?)\""]
}
]
}