From 1f4d75c906128a85c95f1a1c25de0105fb2923b2 Mon Sep 17 00:00:00 2001 From: Endkind Date: Sun, 15 Jun 2025 22:58:07 +0200 Subject: [PATCH] verbesserung der `.github/release-darfter.yml` --- .github/release-drafter.yml | 24 +++++++++++++++++++++++- .github/workflows/release-drafter.yml | 1 - 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 65eb8ea..44e113a 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -3,20 +3,42 @@ tag-template: 'v$RESOLVED_VERSION' categories: - title: '🚀 Features' label: 'feature' + collapse-after: 5 - title: '🐛 Bug Fixes' label: 'bug' + collapse-after: 5 - title: '🧰 Maintenance' label: 'maintenance' + collapse-after: 5 - title : '⚡ Performance' label: 'performance' + collapse-after: 5 - title: '✅ Tests' label: 'tests' + collapse-after: 5 - title: '📚 Documentation' label: 'documentation' + collapse-after: 5 change-template: '- $TITLE @$AUTHOR (#$NUMBER)' no-changes-template: '- No changes' + +version-resolver: + major: + labels: + - 'breaking' + minor: + labels: + - 'feature' + patch: + labels: + - 'bug' + - 'maintenance' + - 'documentation' + template: | - ## Changes + # Changes $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index f07b888..dd1f778 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -14,7 +14,6 @@ on: # pull_request_target event is required for autolabeler to support PRs from forks # pull_request_target: # types: [opened, reopened, synchronize] - workflow_dispatch: # TESTING permissions: contents: read