From a88649f6ccd823d9acc3c6096948cd7b9c18fc3e Mon Sep 17 00:00:00 2001 From: nscuro Date: Tue, 18 Jun 2024 19:05:51 +0200 Subject: [PATCH] Add GitHub release notes config; Remove release-drafter Adds a config for GitHub's generated release notes (https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes). Removes release-drafter as it involves more work. Signed-off-by: nscuro --- .github/release-drafter.yml | 65 --------------------------- .github/release.yml | 20 +++++++++ .github/workflows/release-drafter.yml | 19 -------- 3 files changed, 20 insertions(+), 84 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 014404e15..000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,65 +0,0 @@ -# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter -name-template: $NEXT_PATCH_VERSION -tag-template: cyclonedx-core-java-$NEXT_MINOR_VERSION -version-template: $MAJOR.$MINOR.$PATCH - -# Emoji reference: https://gitmoji.carloscuesta.me/ -categories: - - title: ":boom: Breaking changes" - labels: - - breaking - - title: 🚨 Removed - label: removed - - title: ":tada: Major features and improvements" - labels: - - major-enhancement - - major-rfe - - title: 🐛 Major bug fixes - labels: - - major-bug - - title: ⚠️ Deprecated - label: deprecated - - title: 🚀 New features and improvements - labels: - - enhancement - - feature - - rfe - - title: 🐛 Bug Fixes - labels: - - bug - - fix - - bugfix - - regression - - title: ":construction_worker: Changes for plugin developers" - labels: - - developer - # Default label used by Dependabot - - title: 📦 Dependency updates - label: - - dependencies - - dependency - - dependency-upgrade - - title: 📝 Documentation updates - label: documentation - - title: 👻 Maintenance - labels: - - chore - - internal - - maintenance - - title: 🔧 Build - label: build - - title: 🚦 Tests - labels: - - test - - tests -exclude-labels: - - reverted - - no-changelog - - skip-changelog - - invalid - -change-template: '- $TITLE ([#$NUMBER]($URL)) @$AUTHOR' - -template: | - - $CHANGES diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..33255a5d8 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,20 @@ +changelog: + categories: + - title: Breaking Changes 🚨 + labels: + - breaking change + - title: Enhancements 🚀 + labels: + - enhancement + - title: Bug Fixes 🐛 + labels: + - bug + - title: Dependency Updates 🤖 + labels: + - dependencies + - title: Documentation 📃 + labels: + - documentation + - title: Other Changes + labels: + - "*" \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index d62a62adc..000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Release Drafter - -on: - push: - branches: - - master - -permissions: { } - -jobs: - update_release_draft: - permissions: - # write permission is required to create a github release - contents: write - runs-on: ubuntu-latest - steps: - - uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 # tag=v6.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}