From 66e15bee8b6d790cdd7f1544df539b7c003fa971 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Fri, 6 Dec 2024 23:33:55 +0800 Subject: [PATCH] fix(renovate): commit message hopefully final fuck it finally clicked why my glob was wrong lol --- .renovate/commitMessage.json5 | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.renovate/commitMessage.json5 b/.renovate/commitMessage.json5 index 1fde491dda..2ef288acc8 100644 --- a/.renovate/commitMessage.json5 +++ b/.renovate/commitMessage.json5 @@ -24,39 +24,37 @@ }, { "matchDatasources": ["docker"], - "matchDepNames": ["**/*", "!**/**/**"], + "matchUpdateTypes": ["!major"], + "semanticCommitScope": "oci/{{depName}}" + }, + { + "matchDatasources": ["docker"], + "matchDepNames": ["*/*"], "matchUpdateTypes": ["!major"], "semanticCommitScope": "oci/{{ lookup (split depName '/') 1 }}" }, { "matchDatasources": ["docker"], - "matchDepNames": ["**/**/**", "**/*"], + "matchDepNames": ["*/*/**"], "matchUpdateTypes": ["!major"], "semanticCommitScope": "oci/{{ lookup (split depName '/') 2 }}{{ lookup (split depName '/') 3 }}{{ lookup (split depName '/') 4 }}{{ lookup (split depName '/') 5 }}" }, - //{ - // "matchDatasources": ["docker"], - // "matchDepNames": ["*"], - // "matchUpdateTypes": ["!major"], - // "semanticCommitScope": "oci/{{depName}}" - //}, { "matchDatasources": ["docker"], - "matchDepNames": ["**/**/**"], "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(oci/{{ lookup (split depName '/') 2 }}{{ lookup (split depName '/') 3 }}{{ lookup (split depName '/') 4 }}{{ lookup (split depName '/') 5 }})!: " + "commitMessagePrefix": "feat(oci/{{depName}})!: " }, { "matchDatasources": ["docker"], - "matchDepNames": ["**/*"], + "matchDepNames": ["*/*"], "matchUpdateTypes": ["major"], "commitMessagePrefix": "feat(oci/{{ lookup (split depName '/') 1 }})!: " }, { "matchDatasources": ["docker"], - "matchDepNames": ["*"], + "matchDepNames": ["*/*/**"], "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(oci/{{depName}})!: " + "commitMessagePrefix": "feat(oci/{{ lookup (split depName '/') 2 }}{{ lookup (split depName '/') 3 }}{{ lookup (split depName '/') 4 }}{{ lookup (split depName '/') 5 }})!: " }, { "matchDatasources": ["github-releases", "github-tags"],