-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
39 lines (39 loc) · 1.11 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"baseBranches": [
"main"
],
"extends": [
"config:recommended",
":dependencyDashboard",
":automergeMinor"
],
"reviewers": [
"mrzzy"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^.*\\.pkr\\.hcl$"
],
"matchStrings": [
"version *= *\"(?<currentValue>.*)\"\\s+source *= *\"github\\.com\\/(?<owner>.+)\\/(?<repo>.+)\""
],
"depNameTemplate": "{{{ owner }}}/packer-plugin-{{{ repo }}}",
"datasourceTemplate": "github-tags",
"versioningTemplate": "hashicorp"
},
{
"customType": "regex",
"fileMatch": [
"roles\\/.*\\/defaults\\/.*\\.yaml$"
],
"matchStrings": [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?(?<stripV> stripV)?\\s+\\w+version: *(?<currentValue>\\S+)"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}loose{{/if}}",
"extractVersionTemplate": "^{{#if stripV}}[vV]{{else}}{{/if}}(?<version>.*)$"
}
]
}