Skip to content

Commit 57f3384

Browse files
authored
chore: enable Renovate (cloudnative-pg#54)
Signed-off-by: Niccolò Fei <[email protected]>
1 parent eae74f9 commit 57f3384

File tree

2 files changed

+45
-6
lines changed

2 files changed

+45
-6
lines changed

.github/dependabot.yml

-6
This file was deleted.

renovate.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"prConcurrentLimit": 5,
7+
"semanticCommits": "enabled",
8+
"regexManagers": [
9+
{
10+
// We want a PR to bump kind version
11+
"fileMatch": [
12+
"^.github/workflows/run-e2e.yml"
13+
],
14+
"matchStrings": [
15+
"KIND_VERSION: \"(?<currentValue>.*?)\""
16+
],
17+
"datasourceTemplate": "github-tags",
18+
"depNameTemplate": "kubernetes-sigs/kind"
19+
}, {
20+
// We want a PR to bump kind node version
21+
"fileMatch": [
22+
"^.github/workflows/run-e2e.yml"
23+
],
24+
"matchStrings": [
25+
"K8S_VERSION: \"(?<currentValue>.*?)\""
26+
],
27+
"datasourceTemplate": "docker",
28+
"versioningTemplate": "loose",
29+
"depNameTemplate": "kindest/node"
30+
}, {
31+
// We want a PR to bump Go versions used through env variables in any GitHub
32+
// Actions, taking it from the official GitHub repository.
33+
"fileMatch": [
34+
"^\\.github\\/workflows\\/[^/]+\\.ya?ml$"
35+
],
36+
"matchStrings": [
37+
"GOLANG_VERSION: \"(?<currentValue>.*?)\\.x\"",
38+
],
39+
"datasourceTemplate": "golang-version",
40+
"depNameTemplate": "golang",
41+
"versioningTemplate": "loose",
42+
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+)"
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)