chore: setup renovate (#64)

This commit is contained in:
Julian Tölle 2024-09-21 13:29:26 +02:00 committed by GitHub
parent dc1903c4b4
commit 7bd752c2f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 125 additions and 23 deletions

80
.github/renovate.json5 vendored Normal file
View file

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