76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
":semanticCommits",
|
|
":semanticCommitTypeAll(chore)"
|
|
],
|
|
"labels": [
|
|
"dependencies"
|
|
],
|
|
"reviewersFromCodeOwners": true,
|
|
"enabledManagers": [
|
|
"gomod",
|
|
"github-actions",
|
|
"dockerfile",
|
|
"custom.regex"
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"^GO_VERSION$"
|
|
],
|
|
"depTypeTemplate": "language",
|
|
"matchStrings": [
|
|
"^(?<currentValue>[0-9.]+)"
|
|
],
|
|
"extractVersionTemplate": "^(?<version>.+)-linux-amd64$",
|
|
"depNameTemplate": "docker.io/gotify/build",
|
|
"autoReplaceStringTemplate": "{{{newValue}}}",
|
|
"datasourceTemplate": "docker",
|
|
"versioningTemplate": "docker"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"^go.mod$"
|
|
],
|
|
"depTypeTemplate": "language",
|
|
"matchStrings": [
|
|
"toolchain go(?<currentValue>[0-9.]+)\\n"
|
|
],
|
|
"extractVersionTemplate": "^(?<version>.+)-linux-amd64$",
|
|
"depNameTemplate": "docker.io/gotify/build",
|
|
"autoReplaceStringTemplate": "toolchain go{{{newValue}}}\n",
|
|
"datasourceTemplate": "docker",
|
|
"versioningTemplate": "docker"
|
|
}
|
|
],
|
|
"ignoreDeps": [
|
|
"go"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchManagers": [
|
|
"gomod"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch"
|
|
],
|
|
"groupName": "Bump Go dependencies",
|
|
"groupSlug": "bump-dependencies-go"
|
|
},
|
|
{
|
|
"matchDepNames": [
|
|
"github.com/gotify/build"
|
|
],
|
|
"groupName": "Bump gotify/build",
|
|
"groupSlug": "bump-gotify-build"
|
|
}
|
|
],
|
|
"postUpdateOptions": [
|
|
"gomodTidy"
|
|
]
|
|
} |