From bac261771ff6c095716b64e0eb208299a99b4630 Mon Sep 17 00:00:00 2001 From: Christian Gripp Date: Mon, 2 Dec 2019 14:03:01 +0100 Subject: [PATCH] Use Release Drafter --- .github/release-drafter.yml | 16 ++++++++++++++++ .github/workflows/release-drafter.yml | 14 ++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..93b605a4 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,16 @@ +name-template: 'v$NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: '🚀 Features' + labels: + - 'feature' + - 'enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'fix' + - 'bugfix' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..168748a6 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,14 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: toolmantim/release-drafter@v5.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}