From 79aed75f42ef6b9d6ac53d4bd6dbb239fcf228cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Sat, 16 Dec 2023 01:51:24 +0100 Subject: [PATCH] ci(renovate): add package rules for bedrock-tags --- .github/renovate.json5 | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index bc6c9709a..79760c328 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -16,19 +16,33 @@ semanticCommits: "enabled", suppressNotifications: ["prIgnoreNotification"], rebaseWhen: "conflicted", - regexManagers: [ - // { - // description: "Update minecraft-bedrock version", - // fileMatch: ["minecraft-bedrock/app/helm-release\\.yaml$"], - // matchStrings: [ - // '(?m:^\\s+# ?renovate: depName=(?\\S+)\\n[\\t|\\s]*? \\S+: "?(?[^" ]+)"?$)', - // ], - // datasourceTemplate: "github-releases", - // versioningTemplate: "loose", - // extractVersionTemplate: "^(?.*)", - // }, + regexManagers: [], + packageRules: [ + { + matchPackageNames: ["tyriis/bedrock-tags"], + matchUpdateTypes: ["major", "minor", "patch"], + semanticCommitScope: "minecraft", + commitMessageTopic: "bedrock", + }, + { + matchPackageNames: ["tyriis/bedrock-tags"], + matchDatasources: ["github-releases"], + matchUpdateTypes: ["major"], + semanticCommitType: "feat", + }, + { + matchPackageNames: ["tyriis/bedrock-tags"], + matchDatasources: ["github-releases"], + matchUpdateTypes: ["minor"], + semanticCommitType: "feat", + }, + { + matchPackageNames: ["tyriis/bedrock-tags"], + matchDatasources: ["github-releases"], + matchUpdateTypes: ["patch"], + semanticCommitType: "fix", + }, ], - packageRules: [], ignorePaths: [ "^archive/**", "^kubernets/talos-flux/apps/home-automation/esphome/app/config/**",