feat(renovate): add labels

This commit is contained in:
JJGadgets
2024-10-01 09:56:00 +08:00
parent edd358cfe2
commit c65332c878
2 changed files with 19 additions and 3 deletions

View File

@@ -91,8 +91,6 @@
"automerge": false,
"separateMultipleMajor": true,
"separateMinorPatch": true,
// TODO: Helm chart uses separate key for digests, which Renovate seems to not recognize? maybe patching the image would be better?
"pinDigests": false,
"group": {
"commitMessageTopic": "{{{groupName}}} group"
}

View File

@@ -28,6 +28,24 @@
{
"matchManagers": ["github-actions"],
"addLabels": ["renovate/github-action"]
},
{
"matchFileNames": ["kube/deploy/apps/**"],
"addLabels": ["kube-deploy-apps"]
},
{
"matchFileNames": ["kube/deploy/core/**"],
"addLabels": ["kube-deploy-core"]
},
{
"matchFileNames": ["kube/clusters/**"],
"addLabels": ["{{ lookup (split packageFileDir '/') 2 }}"]
},
{
"addLabels": ["renovate/name/{{depNameSanitized}}"]
},
{
"addLabels": ["{{#if isVulnerabilityAlert}}security/{{vulnerabilitySeverity}}{{/if}}"]
}
]
}
}