From 7a3e2aa2e74969aba27a1ca38dcbd36ffe39e3fb Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Mon, 7 Feb 2022 01:36:32 +0100 Subject: [PATCH] Add release drafter with configs from .github repo --- .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..f3571538 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,18 @@ +name: Release Drafter + +on: + push: + branches: + - main + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + name: "Anorm $RESOLVED_VERSION" + config-name: release-drafts/increasing-patch-version.yml # located in .github/ in the default branch within this or the .github repo + commitish: ${{ env.GITHUB_REF_NAME }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}