From 122cb6f316bd7c704f8609c394bb591a0a20037a Mon Sep 17 00:00:00 2001 From: shenghuo2 <1308357113@qq.com> Date: Mon, 5 Aug 2024 17:29:41 +0000 Subject: [PATCH] fix(action): yaml invalid --- .github/release-drafter.yml | 46 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 1e83e86..18dc186 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,35 +1,25 @@ -# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter -name-template: 'v$NEXT_PATCH_VERSION 🌈' -tag-template: 'v$NEXT_PATCH_VERSION' -version-template: $MAJOR.$MINOR.$PATCH -# Emoji reference: https://gitmoji.carloscuesta.me/ +name-template: 'v$RESOLVED_VERSION 🌈' +tag-template: 'v$RESOLVED_VERSION' categories: - title: 'πŸš€ Features' labels: - 'feature' - - 'Feature' - - 'feat' - 'enhancement' - - 'kind/feature' - title: 'πŸ› Bug Fixes' labels: - 'fix' - - 'Fix' - 'bugfix' - 'bug' - - 'regression' - - 'kind/bug' - - title: πŸ“ Documentation updates - labels: - - documentation - - 'docs' - - 'kind/doc' - - title: πŸ‘» Maintenance + - title: '🧰 Maintenance' labels: - chore - dependencies - 'kind/chore' - 'kind/dep' + - title: πŸ“ Documentation updates + labels: + - documentation + - 'kind/doc' - title: 🚦 Tests labels: - test @@ -39,10 +29,20 @@ exclude-labels: - no-changelog - skip-changelog - invalid -change-template: '* $TITLE (#$NUMBER) @$AUTHOR' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch template: | - ## What’s Changed - $CHANGES -Terms -Privacy -Security \ No newline at end of file + ## Changes + + $CHANGES \ No newline at end of file