From 2334b17578858c90bce97d8a7eabf3485b1df564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 29 Dec 2024 16:49:40 +0100 Subject: [PATCH] Update release-drafter config (#106) --- .github/release-drafter.yml | 27 +++++++++++++++++++++++---- .github/workflows/labels.yml | 2 +- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 2f50e90..3c5082a 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,8 +1,27 @@ change-template: '- #$NUMBER $TITLE @$AUTHOR' sort-direction: ascending exclude-labels: - - "release-drafter-ignore" -template: | - ## What’s Changed + - "actions" + - "repository" +categories: + - title: ":boom: Breaking Changes" + label: "breaking-change" + + - title: ":bug: Bug Fixes" + label: "bugfix" + + - title: ":sparkles: New Features" + label: "feature" + + - title: ":zap: Performance" + label: "enhancement" - $CHANGES \ No newline at end of file + - title: ":recycle: Refactor" + label: "refactor" + + - title: ":arrow_up: Dependency Updates" + label: "dependencies" + collapse-after: 1 + +template: | + $CHANGES diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index eb86c02..e8f0ac2 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -21,4 +21,4 @@ jobs: uses: ludeeus/action-require-labels@1.1.0 with: labels: >- - breaking-change, bugfix, dependencies, enhancement, feature, actions, repository + breaking-change, bugfix, dependencies, enhancement, feature, actions, repository, refactor