From 020e0a5e6156500167a22e2b7c54594332c1e3df Mon Sep 17 00:00:00 2001 From: Pervakov Grigorii Date: Fri, 19 Jun 2026 17:33:39 +0200 Subject: [PATCH] ci: fix changelog categories generation --- .github/workflows/release.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e36f700..adf28d2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -143,12 +143,20 @@ jobs: }, { "title": "## ๐Ÿงช Tests", "labels": ["test"] + }, { + "title": "## ๐Ÿ“š Docs", + "labels": ["docs"] }, { "title": "## ๐Ÿงน Chores", - "labels": ["chore"] + "labels": ["chore", "chores", "ci", "build", "refactor", "perf"] }, { "title": "## ๐Ÿ“ฆ Uncategorized", "labels": [] + }], + "label_extractor": [{ + "pattern": "^([a-zA-Z]+)(\\([^)]*\\))?!?:.*", + "on_property": "title", + "target": "$1" }] } - name: Create GitHub Release @@ -268,4 +276,3 @@ jobs: --body "Bundle for clickhouse-operator ${VERSION}. Generated from https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}. Merge then submit upstream to k8s-operatorhub/community-operators following https://k8s-operatorhub.github.io/community-operators/packaging-operator/." \ --head "${BRANCH}" \ --base main - \ No newline at end of file