125 lines
4.3 KiB
JSON
125 lines
4.3 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
":automergePr",
|
|
":automergeDigest",
|
|
":automergePatch",
|
|
":automergeRequireAllStatusChecks",
|
|
"default:semanticCommits",
|
|
"default:prHourlyLimitNone",
|
|
"default:prConcurrentLimit10",
|
|
"docker:pinDigests",
|
|
"helpers:pinGitHubActionDigestsToSemver",
|
|
"preview:dockerCompose",
|
|
"schedule:nonOfficeHours",
|
|
":rebaseStalePrs",
|
|
":separateMultipleMinorReleases",
|
|
":separatePatchReleases"
|
|
],
|
|
"description": "Presets for Docker Hosts and Git Actions",
|
|
"dependencyDashboardHeader": "### 🔧 Renovate Dashboard\n\n- ✅ Patch updates will be created and auto-merged automatically.\n- 📝 Minor and Major updates will appear here first. Approve them to generate PRs.\n- 🏷️ Labels `update:patch`, `update:minor`, and `update:major` mark update types.\n",
|
|
"dependencyDashboardAutoclose": true,
|
|
"labels": ["dependencies", "renovate"],
|
|
"commitMessagePrefix": "🔧 Renovate:",
|
|
"branchNameStrict": true,
|
|
"branchPrefix": "renovate/",
|
|
"branchTopic": "{{manager}}/{{depName}}-{{newVersion}}",
|
|
"commitMessageAction": "Update ({{updateType}})",
|
|
"commitMessageTopic": "{{manager}}/{{depName}} to {{newVersion}}",
|
|
"gitAuthor": "Renovate Bot <charish2k1@gmail.com>",
|
|
"prBodyNotes": [
|
|
"### ⚡ Renovate Update Info",
|
|
"- **Update Type:** {{updateType}}",
|
|
"- **Automerge:** {{#if isAutomerge}}✅ This update will be auto-merged once all checks pass{{else}}🛑 This update requires manual approval{{/if}}"
|
|
],
|
|
"enabledManagers": [
|
|
"docker-compose",
|
|
"github-actions",
|
|
"ansible",
|
|
"ansible-galaxy",
|
|
"regex"
|
|
],
|
|
"major": {
|
|
"dependencyDashboardApproval": true
|
|
},
|
|
"minor": {
|
|
"dependencyDashboardApproval": true
|
|
},
|
|
"versioning": "docker",
|
|
"packageRules": [
|
|
{
|
|
"description": "Alpine-based images only update to Alpine-based versions",
|
|
"matchDatasources": ["docker"],
|
|
"versioning": "docker",
|
|
"matchManagers": ["docker-compose"],
|
|
"matchPackageNames": [".*"],
|
|
"allowedVersions": "/alpine/i"
|
|
},
|
|
{
|
|
"description": "Replace :latest with semver tag + digest",
|
|
"matchDatasources": ["docker"],
|
|
"matchCurrentValue": "latest",
|
|
"versioning": "docker",
|
|
"pinDigests": true
|
|
},
|
|
{
|
|
"description": "Replace :stable with semver tag + digest",
|
|
"matchDatasources": ["docker"],
|
|
"matchCurrentValue": "stable",
|
|
"versioning": "docker",
|
|
"pinDigests": true
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"description": "Update flarectl version in workflows",
|
|
"fileMatch": [
|
|
".github/workflows/.*\\.ya?ml$",
|
|
".gitea/workflows/.*\\.ya?ml$"
|
|
],
|
|
"matchStrings": ["FLARECTL_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
|
"datasourceTemplate": "github-releases",
|
|
"packageNameTemplate": "cloudflare/cloudflare-go",
|
|
"versioningTemplate": "semver",
|
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
|
},
|
|
{
|
|
"description": "Update Vault version in workflows",
|
|
"fileMatch": [
|
|
".github/workflows/.*\\.ya?ml$",
|
|
".gitea/workflows/.*\\.ya?ml$"
|
|
],
|
|
"matchStrings": ["HC_VAULT_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
|
"datasourceTemplate": "github-releases",
|
|
"packageNameTemplate": "hashicorp/vault",
|
|
"versioningTemplate": "semver",
|
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
|
},
|
|
{
|
|
"description": "Update tea CLI version in workflows",
|
|
"fileMatch": [
|
|
".github/workflows/.*\\.ya?ml$",
|
|
".gitea/workflows/.*\\.ya?ml$"
|
|
],
|
|
"matchStrings": ["TEA_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
|
"datasourceTemplate": "github-releases",
|
|
"packageNameTemplate": "go-gitea/tea",
|
|
"versioningTemplate": "semver",
|
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
|
},
|
|
{
|
|
"description": "Update Renovate version in workflows",
|
|
"fileMatch": [
|
|
".github/workflows/.*\\.ya?ml$",
|
|
".gitea/workflows/.*\\.ya?ml$"
|
|
],
|
|
"matchStrings": ["RENOVATE_VERSION: \\\"(?<currentValue>.*?)\\\""],
|
|
"datasourceTemplate": "github-releases",
|
|
"packageNameTemplate": "renovatebot/renovate",
|
|
"versioningTemplate": "semver",
|
|
"extractVersionTemplate": "^v?(?<version>.*)$"
|
|
}
|
|
]
|
|
}
|