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