Add labels to Renovate PRs based on update type and vulnerability status
CI / build-and-scan (push) Successful in 33s

This commit is contained in:
Djeex
2026-08-22 13:02:27 +02:00
parent 67b4984664
commit b865da38f3
+11 -1
View File
@@ -2,6 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"], "extends": ["config:recommended"],
"timezone": "Europe/Paris", "timezone": "Europe/Paris",
"labels": ["bot"],
"packageRules": [ "packageRules": [
{ {
"matchManagers": ["pip_requirements"], "matchManagers": ["pip_requirements"],
@@ -12,9 +13,18 @@
"matchManagers": ["dockerfile"], "matchManagers": ["dockerfile"],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["patch"],
"automerge": true "automerge": true
},
{
"matchUpdateTypes": ["major"],
"addLabels": ["major"]
},
{
"matchUpdateTypes": ["minor"],
"addLabels": ["minor"]
} }
], ],
"vulnerabilityAlerts": { "vulnerabilityAlerts": {
"enabled": true "enabled": true,
"addLabels": ["bug"]
} }
} }