mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
69 lines
4.6 KiB
Plaintext
69 lines
4.6 KiB
Plaintext
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"packageRules": [
|
|
{
|
|
"matchUpdateTypes": ["major"],
|
|
"commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}})!:"
|
|
},
|
|
{
|
|
"matchUpdateTypes": ["minor"],
|
|
"semanticCommitType": "feat"
|
|
},
|
|
{
|
|
"matchUpdateTypes": ["patch"],
|
|
"semanticCommitType": "fix"
|
|
},
|
|
{
|
|
"matchUpdateTypes": ["digest"],
|
|
"semanticCommitType": "chore"
|
|
},
|
|
{
|
|
"matchPackageNames": ["*"],
|
|
"commitMessageTopic": "",
|
|
"commitMessageExtra": "{{#if currentVersion}}{{currentVersion}}{{else if currentDigestShort}}{{currentDigestShort}}{{else}}{{currentValue}}{{/if}} ➼ {{#if newVersion}}{{newVersion}}{{else if newDigestShort}}{{newDigestShort}}{{else}}{{newValue}}{{/if}}"
|
|
},
|
|
{
|
|
"matchPackageNames": ["*"],
|
|
"matchUpdateTypes": ["!major"],
|
|
"semanticCommitScope": "{{#if datasource}}{{#if (equals datasource 'docker')}}oci{{else if (equals datasource 'github-actions')}}gha{{else if (containsString datasource 'github')}}github{{else}}{{datasource}}{{/if}}/{{/if}}{{#if groupName}}group/{{groupName}}{{else if depName}}{{depName}}{{else}}{{packageName}}{{/if}}"
|
|
},
|
|
{
|
|
"matchPackageNames": ["*"],
|
|
"matchUpdateTypes": ["major"],
|
|
"commitMessagePrefix": "feat({{#if datasource}}{{#if (equals datasource 'docker')}}oci{{else if (equals datasource 'github-actions')}}gha{{else if (containsString datasource 'github')}}github{{else}}{{datasource}}{{/if}}/{{/if}}{{#if groupName}}group/{{groupName}}{{else if depName}}{{depName}}{{else}}{{packageName}}{{/if}})!:"
|
|
},
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"matchUpdateTypes": ["!major"],
|
|
"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": ["docker"],
|
|
"matchUpdateTypes": ["major"],
|
|
"commitMessagePrefix": "feat(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": ["docker"],
|
|
"matchUpdateTypes": ["!major"],
|
|
"matchFileNames": ["**/hr.yaml", "**/helmrepo.yaml", "**/helmrelease.yaml"],
|
|
"semanticCommitScope": "helm/{{#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": ["docker"],
|
|
"matchUpdateTypes": ["major"],
|
|
"matchFileNames": ["**/hr.yaml", "**/helmrepo.yaml", "**/helmrelease.yaml"],
|
|
"commitMessagePrefix": "feat(helm/{{#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"],
|
|
"matchFileNames": [".github/workflows/**"],
|
|
"semanticCommitScope": "gha/{{#if groupName}}group/{{groupName}}{{else}}{{depName}}{{/if}}"
|
|
},
|
|
{
|
|
"matchFileNames": [".mise.toml", "mise.toml"],
|
|
"semanticCommitType": "{{#unless groupName}}chore{{/unless}}",
|
|
"semanticCommitScope": "{{#unless groupName}}mise/{{#if (lookup (split depName ':') 1)}}{{ lookup (split depName ':') 1 }}{{else}}{{depName}}{{/if}}{{/unless}}"
|
|
}
|
|
]
|
|
}
|