chore: Configure Renovate (#706)

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
renovate[bot] 2024-11-01 17:10:51 -05:00 committed by GitHub
parent ec02350587
commit 212aee3373
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 48 additions and 0 deletions

48
renovate.json Normal file
View File

@ -0,0 +1,48 @@
{
"$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"
}
],
"packageRules": [
{
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "Bump Go dependencies",
"groupSlug": "bump-dependencies-go"
}
]
}