From 22a6d7d387cfa67170d75cb5c984676639e1a60f Mon Sep 17 00:00:00 2001 From: Tim Jacomb Date: Sun, 28 Feb 2021 15:31:19 +0000 Subject: [PATCH] Use GitHub action for release drafter (faster and more reliable) --- .github/workflows/release-drafter.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..76b928dc --- /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: + - 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: + publish: ${{ contains(github.event.head_commit.message, '[maven-release-plugin] prepare release') }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}