Skip to content

Commit 61895a5

Browse files
chore(config): migrate config .github/renovate.json5
1 parent 6229e1e commit 61895a5

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/renovate.json5

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,16 @@
1919
automerge: true,
2020
},
2121
{
22-
"matchDepTypes": [
23-
"action"
24-
],
25-
"pinDigests": true,
26-
"automerge": true
27-
}
22+
matchDepTypes: ["action"],
23+
pinDigests: true,
24+
automerge: true,
25+
},
2826
],
2927
customManagers: [
3028
{
3129
description: "Update semantic-release in GitHub Action workflows",
3230
customType: "regex",
33-
fileMatch: ["^\\.github\\/(actions|workflows)\\/.+\\.ya?ml$"],
31+
managerFilePatterns: ["/^\\.github\\/(actions|workflows)\\/.+\\.ya?ml$/"],
3432
matchStrings: [
3533
"semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|'|(\\s+)|\\n|$)",
3634
],
@@ -40,17 +38,17 @@
4038
{
4139
description: "Update conventional-changelog-conventionalcommits in GitHub Action workflows",
4240
customType: "regex",
43-
fileMatch: ["^\\.github\\/(actions|workflows)\\/.+\\.ya?ml$"],
41+
managerFilePatterns: ["/^\\.github\\/(actions|workflows)\\/.+\\.ya?ml$/"],
4442
matchStrings: [
45-
".*(?<depName>conventional-changelog-conventionalcommits)@(?<currentValue>.+?)(\"|\'|(\\s+)|\\n|$)",
43+
".*(?<depName>conventional-changelog-conventionalcommits)@(?<currentValue>.+?)(\"|'|(\\s+)|\\n|$)",
4644
],
4745
datasourceTemplate: "npm",
4846
depNameTemplate: "conventional-changelog-conventionalcommits",
4947
},
5048
{
5149
description: "Update packer dependencies.",
5250
customType: "regex",
53-
fileMatch: ["\\.pkr\\.hcl"],
51+
managerFilePatterns: ["/\\.pkr\\.hcl/"],
5452
matchStrings: [
5553
'required_version[\\s]+=[\\s]+"=?(?<currentValue>\\S*)"',
5654
'source[\\s]+=[\\s]+"github.com/(?<depName>\\S*)"[\\s]+version[\\s]+=[\\s]+"(?<currentValue>\\S*)"',

0 commit comments

Comments
 (0)