mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
fix(renovate): OCI handlebars
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": ["major"],
|
||||
"commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}})!:"
|
||||
},
|
||||
{
|
||||
"matchUpdateTypes": ["minor"],
|
||||
"semanticCommitType": "feat"
|
||||
@@ -21,13 +25,7 @@
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["docker"],
|
||||
"matchDepNames": ["*/*/**"],
|
||||
"semanticCommitScope": "oci/{{#if groupName}}/group/{{groupName}}{{else}}{{ lookup (split depName '/') 2 }}{{#if (lookup (split depName '/') 3)}}/{{ lookup (split depName '/') 3 }}{{/if}}{{#if (lookup (split depName '/') 4)}}/{{ lookup (split depName '/') 4 }}{{/if}}{{#if (lookup (split depName '/') 5)}}/{{ lookup (split depName '/') 5 }}{{/if}}{{/if}}"
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["docker"],
|
||||
"matchDepNames": ["*/*"],
|
||||
"semanticCommitScope": "oci/{{#if groupName}}/group/{{groupName}}{{else}}{{ lookup (split depName '/') 1 }}{{/if}}"
|
||||
"semanticCommitScope": "oci/{{#if groupName}}/group/{{groupName}}{{else if (lookup (split depName \"/\") 2)}}{{ lookup (split depName \"/\") 2 }}{{#if (lookup (split depName \"/\") 3)}}/{{ lookup (split depName \"/\") 3 }}{{/if}}{{#if (lookup (split depName \"/\") 4)}}/{{ lookup (split depName \"/\") 4 }}{{/if}}{{#if (lookup (split depName \"/\") 5)}}/{{ lookup (split depName \"/\") 5 }}{{/if}}{{else if (lookup (split depName \"/\") 1)}}{{ lookup (split depName \"/\") 1 }}{{else}}{{depName}}{{/if}}"
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["github-releases", "github-tags"],
|
||||
@@ -39,10 +37,6 @@
|
||||
"matchUpdateTypes": ["major", "minor", "patch", "digest", "rollback", "bump"],
|
||||
"semanticCommitType": "chore",
|
||||
"semanticCommitScope": "mise/{{#if groupName}}/group/{{groupName}}{{else}}{{depName}}{{/if}}"
|
||||
},
|
||||
{
|
||||
"matchUpdateTypes": ["major"],
|
||||
"commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}})!:"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user