Files
renovate-config/default.json

447 lines
10 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assigneesFromCodeOwners": true,
"commitBody": "Signed-off-by: {{{gitAuthor}}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
"commitMessageTopic": "{{depName}}",
"configMigration": true,
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "docker",
"description": [
"Upgrade Dockerfile ENV and FROM variables base on regex. ",
"See https://docs.renovatebot.com/configuration-options/#matchstringsstrategy"
],
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"ENV [A-Z]+_VERSION=(?<currentValue>.*) # (?<datasource>.*?)/(?<depName>.*?)(\\&versioning=(?<versioning>.*?))?\\s",
"FROM (?<depName>\\S*):(?<currentValue>\\S*)"
],
"matchStringsStrategy": "any"
}
],
"dependencyDashboardLabels": [
"no-stale"
],
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"description": "Renovate config for projects ivuorinen manages",
"digest": {
"enabled": false
},
"extends": [
"config:recommended",
":enableVulnerabilityAlerts",
":labels(dependencies)",
":maintainLockFilesWeekly",
":preserveSemverRanges",
":semanticCommits",
":timezone(Europe/Helsinki)",
"docker:enableMajor",
"group:recommended",
"helpers:pinGitHubActionDigests",
"npm:unpublishSafe",
"replacements:all",
"schedule:nonOfficeHours",
"workarounds:all"
],
"ignorePaths": [
"**/*.sops.*",
"**/.archive/**"
],
"lockFileMaintenance": {
"commitMessageAction": "Update",
"extends": [
"group:all"
]
},
"onboardingConfigFileName": ".github/renovate.json",
"packageRules": [
{
"commitMessageExtra": " ({{currentVersion}} → {{newVersion}})",
"commitMessagePrefix": "feat(container)!: ",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"major"
]
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"minor"
],
"semanticCommitScope": "container",
"semanticCommitType": "feat"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"patch"
],
"semanticCommitScope": "container",
"semanticCommitType": "fix"
},
{
"commitMessageExtra": "({{currentDigestShort}} → {{newDigestShort}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"digest"
],
"semanticCommitScope": "container",
"semanticCommitType": "chore"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessagePrefix": "feat(helm)!: ",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"helm"
],
"matchUpdateTypes": [
"major"
]
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"helm"
],
"matchUpdateTypes": [
"minor"
],
"semanticCommitScope": "helm",
"semanticCommitType": "feat"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"helm"
],
"matchUpdateTypes": [
"patch"
],
"semanticCommitScope": "helm",
"semanticCommitType": "fix"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessagePrefix": "feat(ansible)!: ",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"galaxy",
"galaxy-collection"
],
"matchUpdateTypes": [
"major"
]
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"galaxy",
"galaxy-collection"
],
"matchUpdateTypes": [
"minor"
],
"semanticCommitScope": "ansible",
"semanticCommitType": "feat"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"galaxy",
"galaxy-collection"
],
"matchUpdateTypes": [
"patch"
],
"semanticCommitScope": "ansible",
"semanticCommitType": "fix"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessagePrefix": "feat(terraform)!: ",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"terraform-provider"
],
"matchUpdateTypes": [
"major"
]
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"terraform-provider"
],
"matchUpdateTypes": [
"minor"
],
"semanticCommitScope": "terraform",
"semanticCommitType": "feat"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"terraform-provider"
],
"matchUpdateTypes": [
"patch"
],
"semanticCommitScope": "terraform",
"semanticCommitType": "fix"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessagePrefix": "feat(github-release)!: ",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"github-releases",
"github-tags"
],
"matchUpdateTypes": [
"major"
]
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"github-releases",
"github-tags"
],
"matchUpdateTypes": [
"minor"
],
"semanticCommitScope": "github-release",
"semanticCommitType": "feat"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchDatasources": [
"github-releases",
"github-tags"
],
"matchUpdateTypes": [
"patch"
],
"semanticCommitScope": "github-release",
"semanticCommitType": "fix"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessagePrefix": "feat(github-action)!: ",
"commitMessageTopic": "{{depName}}",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"major"
]
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"minor"
],
"semanticCommitScope": "github-action",
"semanticCommitType": "feat"
},
{
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
"commitMessageTopic": "{{depName}}",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"patch"
],
"semanticCommitScope": "github-action",
"semanticCommitType": "fix"
},
{
"automerge": true,
"automergeType": "branch",
"description": [
"Auto-merge container digests updates for trusted containers"
],
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"digest"
]
},
{
"automerge": true,
"automergeType": "branch",
"description": [
"Auto-merge GitHub Actions for minor and patch"
],
"matchDatasources": [
"github-tags"
],
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"commitMessageTopic": "chart {{depName}}",
"matchDatasources": [
"helm"
]
},
{
"commitMessageTopic": "image {{depName}}",
"matchDatasources": [
"docker"
]
},
{
"labels": [
"type/major"
],
"matchUpdateTypes": [
"major"
]
},
{
"labels": [
"type/minor"
],
"matchUpdateTypes": [
"minor"
]
},
{
"labels": [
"type/patch"
],
"matchUpdateTypes": [
"patch"
]
},
{
"labels": [
"type/digest"
],
"matchUpdateTypes": [
"digest"
]
},
{
"addLabels": [
"renovate/container"
],
"matchDatasources": [
"docker"
]
},
{
"addLabels": [
"renovate/helm"
],
"matchDatasources": [
"helm"
]
},
{
"addLabels": [
"renovate/ansible"
],
"matchDatasources": [
"galaxy",
"galaxy-collection"
]
},
{
"addLabels": [
"renovate/terraform"
],
"matchDatasources": [
"terraform-provider"
]
},
{
"addLabels": [
"renovate/github-release"
],
"matchDatasources": [
"github-releases",
"github-tags"
]
},
{
"addLabels": [
"renovate/github-action"
],
"matchManagers": [
"github-actions"
]
},
{
"addLabels": [
"renovate/pip"
],
"matchDatasources": [
"pypi"
]
},
{
"groupName": "devDependencies (non-major)",
"matchDepTypes": [
"devDependencies"
],
"matchUpdateTypes": [
"patch",
"minor"
]
},
{
"groupName": "eslint",
"matchPackageNames": [
"/eslint/"
]
}
],
"separateMajorMinor": true,
"separateMinorPatch": false,
"separateMultipleMajor": true,
"vulnerabilityAlerts": {
"enabled": true
}
}