134 lines
3.3 KiB
JSON
134 lines
3.3 KiB
JSON
{
|
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
|
extends: [
|
|
"gitea>gitea/renovate-config",
|
|
"helpers:pinGitHubActionDigests",
|
|
":automergeMinor",
|
|
"schedule:automergeDaily",
|
|
"schedule:weekends",
|
|
],
|
|
labels: [
|
|
"kind/dependency",
|
|
],
|
|
digest: {
|
|
automerge: true,
|
|
},
|
|
automergeStrategy: "squash",
|
|
"git-submodules": {
|
|
enabled: true,
|
|
},
|
|
customManagers: [
|
|
{
|
|
description: "Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions",
|
|
customType: "regex",
|
|
managerFilePatterns: [
|
|
"/.gitea/workflows/.+\\.ya?ml$/",
|
|
],
|
|
matchStrings: [
|
|
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s",
|
|
],
|
|
},
|
|
{
|
|
description: "Detect helm-unittest yaml schema file",
|
|
customType: "regex",
|
|
managerFilePatterns: [
|
|
"/.vscode/settings\\.json$/",
|
|
],
|
|
matchStrings: [
|
|
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json",
|
|
],
|
|
datasourceTemplate: "github-releases",
|
|
},
|
|
{
|
|
description: "Automatically detect new Gitea releases",
|
|
customType: "regex",
|
|
managerFilePatterns: [
|
|
"/(^|/)Chart\\.yaml$/",
|
|
],
|
|
matchStrings: [
|
|
"# renovate datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) extractVersion=(?<extractVersion>\\S+)\\nappVersion:\\s?(?<currentValue>\\S+)\\n",
|
|
],
|
|
},
|
|
],
|
|
lockFileMaintenance: {
|
|
"enabled": true,
|
|
"commitMessageAction": "update",
|
|
"commitMessageTopic": "lockfiles",
|
|
schedule: [
|
|
"at any time",
|
|
]
|
|
},
|
|
packageRules: [
|
|
{
|
|
groupName: "subcharts (minor & patch)",
|
|
matchManagers: [
|
|
"helmv3",
|
|
],
|
|
matchUpdateTypes: [
|
|
"minor",
|
|
"patch",
|
|
"digest",
|
|
],
|
|
},
|
|
{
|
|
groupName: "bats testing framework",
|
|
matchManagers: [
|
|
"git-submodules",
|
|
],
|
|
matchUpdateTypes: [
|
|
"minor",
|
|
"patch",
|
|
"digest",
|
|
],
|
|
},
|
|
{
|
|
groupName: "workflow dependencies (minor & patch)",
|
|
matchManagers: [
|
|
"github-actions",
|
|
"npm",
|
|
"custom.regex",
|
|
],
|
|
matchUpdateTypes: [
|
|
"minor",
|
|
"patch",
|
|
"digest",
|
|
],
|
|
matchFileNames: [
|
|
"!Chart.yaml",
|
|
],
|
|
},
|
|
{
|
|
description: "Update README.md on changes in values.yaml",
|
|
matchManagers: [
|
|
"helm-values",
|
|
],
|
|
postUpgradeTasks: {
|
|
commands: [
|
|
"install-tool node",
|
|
"make readme",
|
|
],
|
|
fileFilters: [
|
|
"README.md",
|
|
],
|
|
executionMode: "update",
|
|
},
|
|
},
|
|
{
|
|
description: "Override changelog url for Helm image, to have release notes in our PRs",
|
|
matchDepNames: [
|
|
"alpine/helm",
|
|
],
|
|
changelogUrl: "https://github.com/helm/helm",
|
|
},
|
|
{
|
|
description: "Bump Gitea as fast as possible - not only on weekends",
|
|
matchDepNames: [
|
|
"go-gitea/gitea",
|
|
],
|
|
schedule: [
|
|
"at any time",
|
|
],
|
|
},
|
|
],
|
|
}
|