chore(config): migrate config .github/renovate.json5

This commit is contained in:
renovate[bot] 2024-11-15 14:09:12 +00:00 committed by GitHub
parent b6d6270d9e
commit 6731ccad26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

113
.github/renovate.json5 vendored
View file

@ -1,80 +1,77 @@
{ {
"extends": [ extends: [
":semanticCommits", ':semanticCommits',
":semanticCommitTypeAll(deps)", ':semanticCommitTypeAll(deps)',
":semanticCommitScopeDisabled", ':semanticCommitScopeDisabled',
':dependencyDashboard',
":dependencyDashboard", ':approveMajorUpdates',
":approveMajorUpdates", ':automergeMinor',
':automergeLinters',
":automergeMinor", ':automergeTesters',
":automergeLinters", ':automergeTypes',
":automergeTesters", ':maintainLockFilesWeekly',
":automergeTypes", ':enableVulnerabilityAlerts',
'helpers:pinGitHubActionDigests',
":maintainLockFilesWeekly",
":enableVulnerabilityAlerts",
"helpers:pinGitHubActionDigests"
], ],
"packageRules": [ packageRules: [
{ {
"groupName": "linters", groupName: 'linters',
"matchUpdateTypes": [ matchUpdateTypes: [
"minor", 'minor',
"patch" 'patch',
], ],
"matchDepNames": [ matchDepNames: [
"golangci/golangci-lint" 'golangci/golangci-lint',
], ],
"automerge": true automerge: true,
}, },
{ {
"groupName": "testing", groupName: 'testing',
"matchUpdateTypes": [ matchUpdateTypes: [
"minor", 'minor',
"patch" 'patch',
], ],
"matchDepNames": [ matchDepNames: [
"github.com/stretchr/testify" 'github.com/stretchr/testify',
], ],
"automerge": true automerge: true,
}, },
{ {
"groupName": "github-actions", groupName: 'github-actions',
"matchUpdateTypes": [ matchUpdateTypes: [
"minor", 'minor',
"patch" 'patch',
], ],
"matchDepTypes": [ matchDepTypes: [
"action" 'action',
], ],
"automerge": true automerge: true,
}, },
{ {
"groupName": "gitlab-ci", groupName: 'gitlab-ci',
"matchUpdateTypes": [ matchUpdateTypes: [
"minor", 'minor',
"patch" 'patch',
], ],
"matchPackageNames": [ matchPackageNames: [
"registry.gitlab.com/gitlab-org/release-cli" 'registry.gitlab.com/gitlab-org/release-cli',
], ],
"automerge": true automerge: true,
} },
], ],
"customManagers": [ customManagers: [
{ {
"customType": "regex", customType: 'regex',
"fileMatch": [ fileMatch: [
".+\\.ya?ml$" '.+\\.ya?ml$',
], ],
"matchStrings": [ matchStrings: [
": (?<currentValue>.+) # renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>[^\\s]+)(?: lookupName=(?<lookupName>[^\\s]+))?(?: versioning=(?<versioning>[a-z-]+))?(?: extractVersion=(?<extractVersion>[^\\s]+))?" ': (?<currentValue>.+) # renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>[^\\s]+)(?: lookupName=(?<packageName>[^\\s]+))?(?: versioning=(?<versioning>[a-z-]+))?(?: extractVersion=(?<extractVersion>[^\\s]+))?',
] ],
} },
],
postUpdateOptions: [
'gomodUpdateImportPaths',
'gomodTidy',
], ],
"postUpdateOptions": [
"gomodUpdateImportPaths",
"gomodTidy"
]
} }