From b4236a2bccea27679fe902cc5f7c80f6aa87e161 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sat, 10 May 2025 02:48:13 +0800 Subject: [PATCH] fix(renovate/mise): chore commit type, branch prefix, aqua fix --- .renovate/commitMessage.json5 | 6 +----- .renovate/mise.json5 | 12 +++++++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.renovate/commitMessage.json5 b/.renovate/commitMessage.json5 index 1b2e203d..778dc0f8 100644 --- a/.renovate/commitMessage.json5 +++ b/.renovate/commitMessage.json5 @@ -88,12 +88,8 @@ }, { "matchFileNames": [".mise.toml", "mise.toml"], + "semanticCommitType": "chore", "semanticCommitScope": "mise/{{#if groupName}}{{groupName}}{{else}}{{depName}}{{/if}}" - }, - { - "matchFileNames": [".mise.toml", "mise.toml"], - "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(mise/{{#if groupName}}{{groupName}}{{else}}{{depName}}{{/if}})!: " } ] } diff --git a/.renovate/mise.json5 b/.renovate/mise.json5 index e55c7c8f..a63ef2bc 100644 --- a/.renovate/mise.json5 +++ b/.renovate/mise.json5 @@ -5,8 +5,15 @@ { "matchFileNames": [".mise.toml", "mise.toml"], "semanticCommitType": "chore", - "semanticCommitScope": "mise", + "semanticCommitScope": "mise" + }, + { + "matchFileNames": [".mise.toml", "mise.toml"], "addLabels": ["renovate/mise"] + }, + { + "matchFileNames": [".mise.toml", "mise.toml"], + "additionalBranchPrefix": "mise/" } ], "customManagers": [ @@ -55,8 +62,7 @@ "description": "Process aqua and ubi packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "^\"(?:aqua|ubi):+(?[\\w\\-\\/]+)\"? = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"", - "^(?[\\w\\-\\/]+)\"? = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" + "^(?:\"aqua:|\"ubi:)?(?[\\w\\-\\/]+)\"? = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" ], "datasourceTemplate": "github-releases", "versioningTemplate": "semver",