Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit f79b34d

Browse files
committed
renovate config
1 parent b796144 commit f79b34d

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

.github/renovate.json5

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
{
2-
"extends": [
3-
"github>chrisns/.github:renovate"
4-
]
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
dependencyDashboard: true,
4+
automerge: false,
5+
pinDigests: true,
6+
separateMajorMinor: true,
7+
separateMinorPatch: true,
8+
separateMultipleMajor: true,
9+
rollbackPrs: true,
10+
labels: ["policy"],
11+
12+
regexManagers: [
13+
{
14+
fileMatch: ["kustomization.yaml"],
15+
matchStrings: ['mycompany.com/policy-version: "(?<currentValue>.*)"\\s+'],
16+
datasourceTemplate: "github-tags",
17+
depNameTemplate: "policy",
18+
packageNameTemplate: "policy-as-versioned-code/policy",
19+
versioningTemplate: "semver"
20+
21+
},
22+
{
23+
"fileMatch": [".*tf$"],
24+
"matchStrings": [
25+
"#\\s*renovate:\\s*policy?\\s*default = \"(?<currentValue>.*)\"\\s"
26+
],
27+
"datasourceTemplate": "github-tags",
28+
"depNameTemplate": "policy",
29+
"lookupNameTemplate": "example-policy-org/policy",
30+
"versioningTemplate": "semver"
31+
}
32+
],
533
}

0 commit comments

Comments
 (0)