From 7ae76579469a698086c87c032cac1e0c6af8cc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hornych?= Date: Thu, 12 Dec 2024 09:09:58 +0100 Subject: [PATCH] ci(release-notes): better communicate changes in release notes. Refs: #758 --- .github/release-drafter.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 00977dbd1c..98f59eefac 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -5,6 +5,10 @@ latest: 'true' prerelease: true prerelease-identifier: 'alpha' categories: + - title: '⁉️ Breaking changes' + labels: + - 'breaking change' + - 'breaking' - title: '🚀 Features' labels: - 'feature' @@ -15,18 +19,19 @@ categories: - 'bugfix' - 'bug' autolabeler: - - label: 'bug' - branch: - - '/fix\/.+/' + - label: 'breaking change' title: - - '/fix/i' + - '/^([a-z]+)(\(.*\))?!:/' - label: 'enhancement' - branch: - - '/feature\/.+/' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' + title: + - '/^feat(\(.*\))?:/' + - label: 'bug' + title: + - '/^fix(\(.*\))?:/' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)
$BODY' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. template: | - ## Changes + ## What’s Changed $CHANGES \ No newline at end of file