From ce4777499e471f3c397432c62cb41bcbebab51e2 Mon Sep 17 00:00:00 2001 From: Rahul Krishna Date: Sat, 27 Jun 2026 14:21:11 -0400 Subject: [PATCH] ci(release): add label-driven emoji changelog config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pass a release-changelog-builder configuration that maps conventional labels (feature/fix/refactor/docs/test) to emoji-titled categories, so the auto-generated release notes group PRs into ๐Ÿš€/๐Ÿ›/โ™ป๏ธ/๐Ÿ“/๐Ÿงช sections instead of a flat list. --- .github/configuration.json | 16 ++++++++++++++++ .github/workflows/release.yml | 1 + 2 files changed, 17 insertions(+) create mode 100644 .github/configuration.json diff --git a/.github/configuration.json b/.github/configuration.json new file mode 100644 index 0000000..1357f28 --- /dev/null +++ b/.github/configuration.json @@ -0,0 +1,16 @@ +{ + "categories": [ + { "title": "### ๐Ÿš€ Features", "labels": ["feature"] }, + { "title": "### ๐Ÿ› Fixes", "labels": ["fix"] }, + { "title": "### โ™ป๏ธ Refactoring", "labels": ["refactor"] }, + { "title": "### ๐Ÿ“ Documentation", "labels": ["docs"] }, + { "title": "### ๐Ÿงช Tests", "labels": ["test"] } + ], + "ignore_labels": ["ignore-for-release"], + "sort": { "order": "ASC", "on_property": "mergedAt" }, + "template": "#{{CHANGELOG}}", + "pr_template": "- #{{TITLE}} (##{{NUMBER}}) @#{{AUTHOR}}", + "empty_template": "- _No user-facing changes._", + "max_pull_requests": 200, + "max_back_track_time_days": 365 +} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28311cd..7c8c141 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -148,6 +148,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') uses: mikepenz/release-changelog-builder-action@v5 with: + configuration: ".github/configuration.json" failOnError: "false" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}