From 283d4885fa37f7e6e412a79a40e3d2a306dad763 Mon Sep 17 00:00:00 2001 From: Udoka Date: Thu, 20 Aug 2020 19:28:15 +0000 Subject: [PATCH] Added Release Drafter Signed-off-by: Udoka --- .github/release-drafter.yml | 28 +++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 18 +++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index e69de29..ad1ab22 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -0,0 +1,28 @@ +name-template: 'v$NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: '🚀 Features' + labels: + - 'kind/feature' + - 'kind/enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'kind/fix' + - 'kind/bugfix' + - 'kind/bug' + - title: '🧰 Maintenance' + labels: + - 'kind/chore' + - 'area/ci' + - 'area/tests' + - title: 📖 Documentation + label: area/docs +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +template: | + ## What's New + $CHANGES + + ## Contributors + + Thank you to our contributors for making this release possible: + $CONTRIBUTORS \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index e69de29..a88e6d1 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,18 @@ +name: Release Drafter + +on: + push: + # our release branch + 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 + with: + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file