From 0b3748aae15943c416ca984e2229c91c2cabe198 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Thu, 5 Oct 2023 12:23:09 +0800 Subject: [PATCH] build(changelog): group dependencies in separate category --- .github/dependabot.yml | 12 ++++++++++++ build.gradle.kts | 11 +++++++++++ conventionalcommit.json | 3 +++ 3 files changed, 26 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 52ed1ae7..efbd5ab4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,23 +3,35 @@ updates: - package-ecosystem: "npm" directory: "/komga-webui" open-pull-requests-limit: 0 + commit-message: + prefix: "deps(webui)" + include: "scope" schedule: interval: "weekly" - package-ecosystem: "gradle" directory: "/komga" open-pull-requests-limit: 0 + commit-message: + prefix: "deps(komga)" + include: "scope" schedule: interval: "weekly" - package-ecosystem: "gradle" directory: "/komga-tray" open-pull-requests-limit: 0 + commit-message: + prefix: "deps(komga-tray)" + include: "scope" schedule: interval: "weekly" # Maintain dependencies for GitHub Actions - package-ecosystem: "github-actions" directory: "/" + commit-message: + prefix: "deps(ci)" + include: "scope" schedule: interval: "weekly" diff --git a/build.gradle.kts b/build.gradle.kts index 83e3da3e..07102b10 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -91,6 +91,12 @@ jreleaser { labels.add("i18n") order.set(70) } + category { + title.set("⚙️ Dependencies") + key.set("dependencies") + labels.add("dependencies") + order.set(80) + } labeler { label.set("perf") title.set("regex:^(?:perf(?:\\(.*\\))?!?):\\s.*") @@ -101,6 +107,11 @@ jreleaser { title.set("regex:^(?:i18n(?:\\(.*\\))?!?):\\s.*") order.set(130) } + labeler { + label.set("dependencies") + title.set("regex:^(?:deps(?:\\(.*\\))?!?):\\s.*") + order.set(140) + } extraProperties.put("categorizeScopes", true) append { enabled.set(true) diff --git a/conventionalcommit.json b/conventionalcommit.json index dd63963d..982aa0cc 100644 --- a/conventionalcommit.json +++ b/conventionalcommit.json @@ -30,6 +30,9 @@ "i18n": { "description": "Changes which affect translation" }, + "deps": { + "description": "Changes which affect dependencies" + }, "ci": { "description": "Changes which affect CI configuration files and scripts.
Example scopes: travis, circle, browser-stack, sauce-labs" },