Skip to content

Commit

Permalink
feat(renovate): add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Oct 1, 2024
1 parent bfe943a commit 3828b3b
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .renovate/labels.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,22 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchUpdateTypes": ["major"],
"labels": ["type/major"]
},
{
"matchUpdateTypes": ["minor"],
"labels": ["type/minor"]
},
{
"matchUpdateTypes": ["patch"],
"labels": ["type/patch"]
},
{
"matchDatasources": ["docker"],
"addLabels": ["renovate/container"]
},
{
"matchDatasources": ["helm"],
"addLabels": ["renovate/helm"]
"labels": ["renovate/datasource/{{datasource}}"]
},
{
"matchDatasources": ["github-releases", "github-tags"],
"addLabels": ["renovate/github-release"]
},
{
"matchManagers": ["github-actions"],
"addLabels": ["renovate/github-action"]
"labels": ["renovate/datasource/github-release"]
},
{
"matchFileNames": ["kube/deploy/apps/**"],
"addLabels": ["kube-deploy-apps"]
"addLabels": ["renovate/type/{{updateType}}"]
},
{
"matchFileNames": ["kube/deploy/core/**"],
"addLabels": ["kube-deploy-core"]
"matchFileNames": ["kube/deploy/**"],
"addLabels": ["kube/deploy/{{ lookup (split packageFileDir '/') 2 }}"]
},
{
"matchFileNames": ["kube/clusters/**"],
"addLabels": ["{{ lookup (split packageFileDir '/') 2 }}"]
"addLabels": ["kube/clusters/{{ lookup (split packageFileDir '/') 2 }}"]
},
{
"addLabels": ["renovate/name/{{depNameSanitized}}"]
Expand Down

0 comments on commit 3828b3b

Please sign in to comment.