style(renovate): use double quotes

This commit is contained in:
2026-07-20 18:37:00 +02:00
parent 580c3be51f
commit efb67b1f98
+53 -52
View File
@@ -1,51 +1,52 @@
{ {
$schema: 'https://docs.renovatebot.com/renovate-schema.json', $schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [ extends: [
'gitea>gitea/renovate-config', "gitea>gitea/renovate-config",
':automergeMinor', "helpers:pinGitHubActionDigests",
'schedule:automergeDaily', ":automergeMinor",
'schedule:weekends', "schedule:automergeDaily",
"schedule:weekends",
], ],
labels: [ labels: [
'kind/dependency', "kind/dependency",
], ],
digest: { digest: {
automerge: true, automerge: true,
}, },
automergeStrategy: 'squash', automergeStrategy: "squash",
'git-submodules': { "git-submodules": {
enabled: true, enabled: true,
}, },
customManagers: [ customManagers: [
{ {
description: 'Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions', description: "Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions",
customType: 'regex', customType: "regex",
managerFilePatterns: [ managerFilePatterns: [
'/.gitea/workflows/.+\\.ya?ml$/', "/.gitea/workflows/.+\\.ya?ml$/",
], ],
matchStrings: [ matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*["\']?(?<currentValue>.+?)["\']?\\s', "# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s",
], ],
}, },
{ {
description: 'Detect helm-unittest yaml schema file', description: "Detect helm-unittest yaml schema file",
customType: 'regex', customType: "regex",
managerFilePatterns: [ managerFilePatterns: [
'/.vscode/settings\\.json$/', "/.vscode/settings\\.json$/",
], ],
matchStrings: [ matchStrings: [
'https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json', "https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json",
], ],
datasourceTemplate: 'github-releases', datasourceTemplate: "github-releases",
}, },
{ {
description: 'Automatically detect new Gitea releases', description: "Automatically detect new Gitea releases",
customType: 'regex', customType: "regex",
managerFilePatterns: [ managerFilePatterns: [
'/(^|/)Chart\\.yaml$/', "/(^|/)Chart\\.yaml$/",
], ],
matchStrings: [ matchStrings: [
'# renovate datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) extractVersion=(?<extractVersion>\\S+)\\nappVersion:\\s?(?<currentValue>\\S+)\\n', "# renovate datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) extractVersion=(?<extractVersion>\\S+)\\nappVersion:\\s?(?<currentValue>\\S+)\\n",
], ],
}, },
], ],
@@ -54,78 +55,78 @@
"commitMessageAction": "update", "commitMessageAction": "update",
"commitMessageTopic": "lockfiles", "commitMessageTopic": "lockfiles",
schedule: [ schedule: [
'at any time', "at any time",
] ]
}, },
packageRules: [ packageRules: [
{ {
groupName: 'subcharts (minor & patch)', groupName: "subcharts (minor & patch)",
matchManagers: [ matchManagers: [
'helmv3', "helmv3",
], ],
matchUpdateTypes: [ matchUpdateTypes: [
'minor', "minor",
'patch', "patch",
'digest', "digest",
], ],
}, },
{ {
groupName: 'bats testing framework', groupName: "bats testing framework",
matchManagers: [ matchManagers: [
'git-submodules', "git-submodules",
], ],
matchUpdateTypes: [ matchUpdateTypes: [
'minor', "minor",
'patch', "patch",
'digest', "digest",
], ],
}, },
{ {
groupName: 'workflow dependencies (minor & patch)', groupName: "workflow dependencies (minor & patch)",
matchManagers: [ matchManagers: [
'github-actions', "github-actions",
'npm', "npm",
'custom.regex', "custom.regex",
], ],
matchUpdateTypes: [ matchUpdateTypes: [
'minor', "minor",
'patch', "patch",
'digest', "digest",
], ],
matchFileNames: [ matchFileNames: [
'!Chart.yaml', "!Chart.yaml",
], ],
}, },
{ {
description: 'Update README.md on changes in values.yaml', description: "Update README.md on changes in values.yaml",
matchManagers: [ matchManagers: [
'helm-values', "helm-values",
], ],
postUpgradeTasks: { postUpgradeTasks: {
commands: [ commands: [
'install-tool node', "install-tool node",
'make readme', "make readme",
], ],
fileFilters: [ fileFilters: [
'README.md', "README.md",
], ],
executionMode: 'update', executionMode: "update",
}, },
}, },
{ {
description: 'Override changelog url for Helm image, to have release notes in our PRs', description: "Override changelog url for Helm image, to have release notes in our PRs",
matchDepNames: [ matchDepNames: [
'alpine/helm', "alpine/helm",
], ],
changelogUrl: 'https://github.com/helm/helm', changelogUrl: "https://github.com/helm/helm",
}, },
{ {
description: 'Bump Gitea as fast as possible - not only on weekends', description: "Bump Gitea as fast as possible - not only on weekends",
matchDepNames: [ matchDepNames: [
'go-gitea/gitea', "go-gitea/gitea",
], ],
schedule: [ schedule: [
'at any time', "at any time",
], ],
}, },
], ],