Skip to content

Commit

Permalink
fix(renovate): commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Dec 5, 2024
1 parent d4ea87c commit d76571c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .renovate/commitMessage.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"commitMessageTopic": "",
"semanticCommitScope": "{{datasource}}/{{depName}}",
"commitMessageExtra": "{{currentVersion}} ➼ {{newVersion}}"
"commitMessageExtra": "{{#if currentVersion}}{{currentVersion}}{{else if currentDigestShort}}{{currentDigestShort}}{{else}}{{currentValue}}{{/if}} ➼ {{#if newVersion}}{{newVersion}}{{else if newDigestShort}}{{newDigestShort}}{{else}}{{newValue}}{{/if}}"
},
{
"matchUpdateTypes": ["major"],
Expand Down
34 changes: 17 additions & 17 deletions .renovate/labels.json5
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
},
{
"matchDatasources": ["!docker"],
"addLabels": ["renovate/name/{{depNameSanitized}}"]
},
{
"matchDatasources": ["docker"],
"matchDepNames": ["*"],
"addLabels": ["oci/image/{{depName}}"]
},
{
"matchDatasources": ["docker"],
"matchDepNames": ["**/*"],
"addLabels": ["oci/owner/{{ lookup (split depName '/') 0 }}", "oci/image/{{ lookup (split depName '/') 1 }}"]
},
{
"matchDatasources": ["docker"],
"matchDepNames": ["**/**/**"],
"addLabels": ["oci/registry/{{ lookup (split depName '/') 0 }}", "oci/owner/{{ lookup (split depName '/') 1 }}", "oci/image/{{ lookup (split depName '/') 2 }}{{ lookup (split depName '/') 3 }}{{ lookup (split depName '/') 4 }}{{ lookup (split depName '/') 5 }}"]
},
"addLabels": ["renovate/{{datasource}}/{{depNameSanitized}}"]
},
//{
// "matchDatasources": ["docker"],
// "matchDepNames": ["*"],
// "addLabels": ["oci/image/{{depName}}"]
//},
//{
// "matchDatasources": ["docker"],
// "matchDepNames": ["**/*"],
// "addLabels": ["oci/owner/{{ lookup (split depName '/') 0 }}", "oci/image/{{ lookup (split depName '/') 1 }}"]
//},
//{
// "matchDatasources": ["docker"],
// "matchDepNames": ["**/**/**"],
// "addLabels": ["oci/registry/{{ lookup (split depName '/') 0 }}", "oci/owner/{{ lookup (split depName '/') 1 }}", "oci/image/{{ lookup (split depName '/') 2 }}{{ lookup (split depName '/') 3 }}{{ lookup (split depName '/') 4 }}{{ lookup (split depName '/') 5 }}"]
//},
{
"addLabels": ["{{#if isVulnerabilityAlert}}security/{{vulnerabilitySeverity}}{{/if}}"]
}
Expand Down

0 comments on commit d76571c

Please sign in to comment.