From ccd95252135cc79e4e326e66f94f1a50c5608c3c Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Wed, 9 Mar 2022 02:59:05 +0200 Subject: [PATCH] github: Update workflow changelog. --- .github/workflows/changelog.json | 36 +++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog.json b/.github/workflows/changelog.json index e979c7a1c..4626c73ef 100644 --- a/.github/workflows/changelog.json +++ b/.github/workflows/changelog.json @@ -9,9 +9,21 @@ "labels": ["imlib"] }, { - "title": "## ๐Ÿ“ท Sensors", + "title": "## ๐Ÿงฌ HAL", + "labels": ["hal"] + }, + { + "title": "## ๐Ÿ“š Lib", + "labels": ["lib"] + }, + { + "title": "## ๐Ÿค– Sensors", "labels": ["sensors"] }, + { + "title": "## ๐Ÿ’พ Drivers", + "labels": ["drivers"] + }, { "title": "## ๐Ÿงช Ports", "labels": ["ports"] @@ -21,7 +33,7 @@ "labels": ["boards"] }, { - "title": "## ๐Ÿ“„ Scripts", + "title": "## ๐Ÿ“œ Scripts", "labels": ["scripts"] }, { @@ -43,12 +55,30 @@ "method": "match", "on_property": "title" }, + { + "pattern": "(^hal)(.+)", + "method": "replace", + "target": "$1", + "on_property": "title" + }, + { + "pattern": "(^lib)(.+)", + "method": "replace", + "target": "$1", + "on_property": "title" + }, { "pattern": "(^sensors)(.+)", "method": "replace", "target": "$1", "on_property": "title" }, + { + "pattern": "(^drivers)(.+)", + "method": "replace", + "target": "$1", + "on_property": "title" + }, { "pattern": "(^ports)\/(.+):", "method": "replace", @@ -93,7 +123,7 @@ } ], "sort": "DESC", - "template": "${{CHANGELOG}}\n\n## ๐Ÿš€ Misc Fixes:\n\n${{UNCATEGORIZED}}\n", + "template": "${{CHANGELOG}}\n\n## ๐Ÿช› Misc Fixes:\n\n${{UNCATEGORIZED}}\n", "pr_template": "- ${{TITLE}}", "empty_template": "- no changes", "max_tags_to_fetch": 100,