From c65332c878972d553b09486b829bd79558a78ce2 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Tue, 1 Oct 2024 09:56:00 +0800 Subject: [PATCH] feat(renovate): add labels --- .renovate/groups.json5 | 2 -- .renovate/labels.json5 | 20 +++++++++++++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.renovate/groups.json5 b/.renovate/groups.json5 index cd75a9a8..5b976712 100644 --- a/.renovate/groups.json5 +++ b/.renovate/groups.json5 @@ -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" } diff --git a/.renovate/labels.json5 b/.renovate/labels.json5 index 1d8b98e6..6f91e35f 100644 --- a/.renovate/labels.json5 +++ b/.renovate/labels.json5 @@ -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}}"] } ] -} \ No newline at end of file +}