From 1ff1be81a30647991d5df2168459c4ba835a36f9 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Thu, 6 Jun 2024 11:55:04 +0200 Subject: [PATCH 1/6] fix release drafter ci --- .github/release-drafter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 58eacf0..7269dbf 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -38,3 +38,4 @@ autolabeler: - label: breaking title: - '/^[a-z]+(\(.*\))?\!\:/' +template: not-used From 8b0e8a7aef775336dd9fdb3cd990c6ba6f86170e Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Thu, 6 Jun 2024 12:07:55 +0200 Subject: [PATCH 2/6] ? --- .github/release-drafter.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 7269dbf..a0cdf1f 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -38,4 +38,10 @@ autolabeler: - label: breaking title: - '/^[a-z]+(\(.*\))?\!\:/' -template: not-used +template: | + template: | + ## What's Changed + + $CHANGES + + **Full Changelog:** [`$PREVIOUS_TAG...v$RESOLVED_VERSION`](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) From f6a650f26810df6bf307f611e9034ef2e6e55f2b Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Thu, 6 Jun 2024 12:09:43 +0200 Subject: [PATCH 3/6] ? --- .github/release-drafter.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index a0cdf1f..d2a5f7c 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -39,7 +39,6 @@ autolabeler: title: - '/^[a-z]+(\(.*\))?\!\:/' template: | - template: | ## What's Changed $CHANGES From ee056be259a0bea863271259ea85742373a8c186 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Thu, 6 Jun 2024 12:10:42 +0200 Subject: [PATCH 4/6] ? --- .github/release-drafter.yml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index d2a5f7c..af87647 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -38,9 +38,53 @@ autolabeler: - label: breaking title: - '/^[a-z]+(\(.*\))?\!\:/' +# ------------------------------------ RELEASE CONFIGURATION ------------------------------------ # +category-template: "### $TITLE" +change-template: "- $TITLE by @$AUTHOR in [#$NUMBER]($URL)" +replacers: + # remove conventional commit tag & scope from change list + - search: '/- [a-z]+(\(.*\))?(\!)?\: /g' + replace: "- " template: | ## What's Changed $CHANGES **Full Changelog:** [`$PREVIOUS_TAG...v$RESOLVED_VERSION`](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) +categories: + - title: ⚠️ Breaking Changes + labels: + - breaking + - title: ✨ New Features + labels: + - enhancement + - title: 🐞 Bug Fixes + labels: + - fix + - title: 🏎️ Performance Improvements + labels: + - performance + - title: 📚 Documentation + labels: + - documentation + - title: 🏗️ Testing + labels: + - test + - title: ⚙️ Automation + labels: + - ci + - title: 🛠 Builds + labels: + - build + - title: 💎 Code Style + labels: + - style + - title: 📦 Refactorings + labels: + - refactor + - title: ♻️ Chores + labels: + - chore + - title: 🗑 Reverts + labels: + - revert From 043ec34d7d15194df3b832591d952ee108edc070 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Thu, 6 Jun 2024 12:12:44 +0200 Subject: [PATCH 5/6] ? --- .github/workflows/chore.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/chore.yml b/.github/workflows/chore.yml index e610c0f..fca12cb 100644 --- a/.github/workflows/chore.yml +++ b/.github/workflows/chore.yml @@ -49,6 +49,9 @@ jobs: header: conventional-commit-pr-title delete: true + - name: Checkout + uses: actions/checkout@v4 + - name: Assign labels uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 with: From fcd888197d8709ce3f833c0026e8b2133b334a5d Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Thu, 6 Jun 2024 12:15:01 +0200 Subject: [PATCH 6/6] . --- .github/release-drafter.yml | 2 +- .github/workflows/chore.yml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index af87647..0ce0478 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -38,7 +38,7 @@ autolabeler: - label: breaking title: - '/^[a-z]+(\(.*\))?\!\:/' -# ------------------------------------ RELEASE CONFIGURATION ------------------------------------ # +# not used but required s.t. release-drafter doesn't complain category-template: "### $TITLE" change-template: "- $TITLE by @$AUTHOR in [#$NUMBER]($URL)" replacers: diff --git a/.github/workflows/chore.yml b/.github/workflows/chore.yml index fca12cb..e610c0f 100644 --- a/.github/workflows/chore.yml +++ b/.github/workflows/chore.yml @@ -49,9 +49,6 @@ jobs: header: conventional-commit-pr-title delete: true - - name: Checkout - uses: actions/checkout@v4 - - name: Assign labels uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 with: