Skip to content

Commit e89bb92

Browse files
authored
Merge pull request #971 from OWASP/renovate/migrate-config
chore(config): migrate renovate config
2 parents 87e1632 + 38d34e6 commit e89bb92

File tree

1 file changed

+77
-23
lines changed

1 file changed

+77
-23
lines changed

renovate.json

Lines changed: 77 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,133 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"reviewers": ["commjoen", "bendehaan"],
4-
"schedule": ["* * 1,15 * *"],
5-
"extends": ["config:recommended", ":enablePreCommit"],
6-
"labels": ["renovate", "dependencies"],
3+
"reviewers": [
4+
"commjoen",
5+
"bendehaan"
6+
],
7+
"schedule": [
8+
"* * 1,15 * *"
9+
],
10+
"extends": [
11+
"config:recommended",
12+
":enablePreCommit"
13+
],
14+
"labels": [
15+
"renovate",
16+
"dependencies"
17+
],
718
"customManagers": [
819
{
920
"customType": "regex",
10-
"fileMatch": ".github/workflows/pre-commit.yml",
21+
"managerFilePatterns": [
22+
"/.github/workflows/pre-commit.yml/"
23+
],
1124
"depNameTemplate": "terraform-docs/terraform-docs",
12-
"matchStrings": ["TF_DOCS_VERSION=\"(?<currentValue>.*?)\""],
25+
"matchStrings": [
26+
"TF_DOCS_VERSION=\"(?<currentValue>.*?)\""
27+
],
1328
"datasourceTemplate": "github-releases"
1429
},
1530
{
1631
"customType": "regex",
17-
"fileMatch": ".github/workflows/pre-commit.yml",
32+
"managerFilePatterns": [
33+
"/.github/workflows/pre-commit.yml/"
34+
],
1835
"depNameTemplate": "aquasecurity/tfsec",
19-
"matchStrings": ["TFSEC_VERSION=\"(?<currentValue>.*?)\""],
36+
"matchStrings": [
37+
"TFSEC_VERSION=\"(?<currentValue>.*?)\""
38+
],
2039
"datasourceTemplate": "github-releases"
2140
},
2241
{
2342
"customType": "regex",
24-
"fileMatch": ".github/workflows/pre-commit.yml",
43+
"managerFilePatterns": [
44+
"/.github/workflows/pre-commit.yml/"
45+
],
2546
"depNameTemplate": "terraform-linters/tflint",
26-
"matchStrings": ["TFLINT_VERSION=\"(?<currentValue>.*?)\""],
47+
"matchStrings": [
48+
"TFLINT_VERSION=\"(?<currentValue>.*?)\""
49+
],
2750
"datasourceTemplate": "github-releases"
2851
},
2952
{
3053
"customType": "regex",
31-
"fileMatch": ".github/workflows/pre-commit.yml",
54+
"managerFilePatterns": [
55+
"/.github/workflows/pre-commit.yml/"
56+
],
3257
"depNameTemplate": "norwoodj/helm-docs",
33-
"matchStrings": ["HELM_DOCS_VERSION=\"(?<currentValue>.*?)\""],
58+
"matchStrings": [
59+
"HELM_DOCS_VERSION=\"(?<currentValue>.*?)\""
60+
],
3461
"datasourceTemplate": "github-releases"
3562
},
3663
{
3764
"customType": "regex",
38-
"fileMatch": "aws/k8s-aws-alb-script.sh",
65+
"managerFilePatterns": [
66+
"/aws/k8s-aws-alb-script.sh/"
67+
],
3968
"depNameTemplate": "kubernetes-sigs/aws-alb-ingress-controller",
40-
"matchStrings": ["LBC_VERSION=\"(?<currentValue>.*?)\""],
69+
"matchStrings": [
70+
"LBC_VERSION=\"(?<currentValue>.*?)\""
71+
],
4172
"datasourceTemplate": "github-releases"
4273
}
4374
],
4475
"packageRules": [
4576
{
4677
"groupName": "eslint",
4778
"enabled": true,
48-
"matchPackageNames": ["/^eslint/"]
79+
"matchPackageNames": [
80+
"/^eslint/"
81+
]
4982
},
5083
{
5184
"groupName": "go",
52-
"matchDatasources": ["go"],
85+
"matchDatasources": [
86+
"go"
87+
],
5388
"enabled": true
5489
},
5590
{
5691
"groupName": "pre-commit",
57-
"matchFileNames": [".pre-commit-config.yaml"],
92+
"matchFileNames": [
93+
".pre-commit-config.yaml"
94+
],
5895
"enabled": true
5996
},
6097
{
6198
"groupName": "terraform-aws",
62-
"matchDatasources": ["terraform-provider", "terraform-module"],
99+
"matchDatasources": [
100+
"terraform-provider",
101+
"terraform-module"
102+
],
63103
"enabled": true,
64-
"matchPackageNames": ["/aws/", "/terraform-aws-modules/.*/"]
104+
"matchPackageNames": [
105+
"/aws/",
106+
"/terraform-aws-modules/.*/"
107+
]
65108
},
66109
{
67110
"groupName": "terraform-azure",
68-
"matchDatasources": ["terraform-provider", "terraform-module"],
111+
"matchDatasources": [
112+
"terraform-provider",
113+
"terraform-module"
114+
],
69115
"enabled": true,
70-
"matchPackageNames": ["/azurerm/"]
116+
"matchPackageNames": [
117+
"/azurerm/"
118+
]
71119
},
72120
{
73121
"groupName": "terraform-gcp",
74-
"matchDatasources": ["terraform-provider", "terraform-module"],
122+
"matchDatasources": [
123+
"terraform-provider",
124+
"terraform-module"
125+
],
75126
"enabled": true,
76-
"matchPackageNames": ["/google/", "/google-beta/"]
127+
"matchPackageNames": [
128+
"/google/",
129+
"/google-beta/"
130+
]
77131
}
78132
]
79133
}

0 commit comments

Comments
 (0)