From a73244040cce89a5725bd5a520bbd6d734c21f6b Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Sun, 1 Nov 2020 22:32:59 +0100 Subject: [PATCH] Use Release Drafter as GitHub action (#166) --- .github/release-drafter.yml | 12 ++++++++++++ .github/workflows/release-drafter.yml | 18 ++++++++++++++++++ 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 0000000..fc4f806 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,12 @@ +# Config for https://github.com/release-drafter/release-drafter +name-template: 'sbt-site $NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +change-template: '- $TITLE #$NUMBER by @$AUTHOR' +template: | + ## Changes + + $CHANGES + + ## Contributors + + $CONTRIBUTORS diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..09953d2 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,18 @@ +name: Release Drafter + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - develop + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged + # https://github.com/raboof/release-drafter/releases + # fork of https://github.com/release-drafter/release-drafter/releases + - uses: raboof/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}