From fc5ae58887753daeed37e5e0902622ab7e7c9638 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Wed, 31 Aug 2022 10:28:31 +0800 Subject: [PATCH] Use the GitHub auto-generated changelogs --- .github/release-drafter.yml | 42 --------------------------- .github/release.yml | 38 ++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 16 ---------- 3 files changed, 38 insertions(+), 58 deletions(-) delete mode 100644 .github/release-drafter.yml create mode 100644 .github/release.yml delete mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index fc1288b..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Configuration for Release Drafter - https://github.com/toolmantim/release-drafter - -name-template: 'v$NEXT_MINOR_VERSION' -tag-template: 'v$NEXT_MINOR_VERSION' -categories: - - title: '💥 Breaking Changes' - label: '💥 Breaking Change' - - - title: '🌟 New Features' - label: '🌟 New Feature' - - - title: '⭐ Features' - label: '⭐ Feature' - - - title: '🐞 Bug Fixes' - label: '🐞 Bug Fix' - - - title: '🛠 Improvements' - label: '🛠 Improvement' - - - title: '🌀 External Changes' - labels: - - '📦 Dependencies' - - 'Actions' - - - title: '📖 Documentation' - label: '📖 Docs' - - - title: '🌍 Localization' - label: '🌍 i18n' - -change-template: '- $TITLE (#$NUMBER)' -no-changes-template: '- No changes' -template: | - $CHANGES - - *** - - For full changes, see the [comparison between $PREVIOUS_TAG and v$NEXT_MINOR_VERSION](https://github.com/next-theme/hexo-theme-next/compare/$PREVIOUS_TAG...v$NEXT_MINOR_VERSION) - -exclude-labels: - - 'Skip Release' diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..21799dc --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,38 @@ +changelog: + categories: + - title: '💥 Breaking Changes' + labels: + - '💥 Breaking Change' + + - title: '🌟 New Features' + labels: + - '🌟 New Feature' + + - title: '⭐ Features' + labels: + - '⭐ Feature' + + - title: '🐞 Bug Fixes' + labels: + - '🐞 Bug Fix' + + - title: '🛠 Improvements' + labels: + - '🛠 Improvement' + + - title: '🌀 External Changes' + labels: + - '📦 Dependencies' + - 'Actions' + + - title: '📖 Documentation' + labels: + - '📖 Docs' + + - title: '🌍 Localization' + labels: + - '🌍 i18n' + + exclude: + labels: + - 'Skip Release' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index 2c30bcd..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Release Drafter - -on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - master - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}