Compare commits

...

15 Commits

4 changed files with 79 additions and 28 deletions

57
actions.json Normal file
View File

@ -0,0 +1,57 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"addLabels": [
"renovate/automerge",
"renovate/github-action"
],
"automerge": true,
"enabled": true,
"groupName": "actions",
"groupSlug": "actions",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"addLabels": [
"renovate/automerge",
"renovate/github-action"
],
"automerge": true,
"enabled": true,
"groupName": "actions",
"groupSlug": "actions",
"matchDatasources": [
"github-releases"
],
"matchPackageNames": [
"goreleaser/goreleaser"
],
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"addLabels": [
"renovate/automerge",
"renovate/github-action"
],
"allowedVersions": "<6.0.0",
"automerge": true,
"enabled": true,
"matchManagers": [
"github-actions"
],
"matchPackageNames": [
"actions/checkout"
]
}
]
}

View File

@ -1,22 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"addLabels": [
"renovate/automerge",
"renovate/github-action"
],
"automerge": true,
"enabled": true,
"groupName": "github actions",
"groupSlug": "github-actions",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"minor",
"patch"
]
}
]
}

View File

@ -14,8 +14,8 @@
],
"groupName": "go modules",
"groupSlug": "go-modules",
"matchDatasources": [
"go"
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"minor",
@ -33,12 +33,27 @@
"^github\\.com/docker/docker",
"^gopkg\\.in/yaml"
],
"matchDatasources": [
"go"
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"major"
]
},
{
"addLabels": [
"renovate/automerge",
"renovate/golang"
],
"automerge": true,
"enabled": true,
"matchPackagePatterns": [
"^golangci/golangci-lint$"
],
"matchUpdateTypes": [
"minor",
"patch"
]
}
],
"postUpdateOptions": [

View File

@ -7,10 +7,11 @@
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
"(^|/)action\\.ya?ml$",
"(^|/)Makefile$",
"(^|/)PKGBUILD$",
"(^|/)[\\w-]*\\.sh$"
],
"matchStrings": [
"=\"?(?<currentValue>[^\"\\n]*)\"? # renovate: datasource=(?<datasource>.*) registryUrl=(?<registryUrl>.*) depName=(?<depName>.*)"
"(?:=|:)[[:blank:]]*\"?(?<currentValue>[^\"\\s]*)\"? # renovate:(?:[[:blank:]]+datasource=[\"']*(?<datasource>[^\\s\"']*)['\"]*|[[:blank:]]+depName=['\"]*(?<depName>[^\\s'\"]*)['\"]*|[[:blank:]]+packageName=['\"]*(?<packageName>[^\\s'\"]*)['\"]*|[[:blank:]]+registryUrl=['\"]*(?<registryUrl>[^\\s'\"]*)['\"]*|[[:blank:]]+updateType=['\"]*(?<updateType>[^\\s'\"]*)['\"]*|[[:blank:]]+versioning=['\"]*(?<versioning>[^\\s'\"]*)['\"]*|[[:blank:]]+extractVersion=['\"]*(?<extractVersion>[^\\s'\"]*)['\"]*)*"
]
}
]