From f6bc07ab2f9ce10f75fa91ef6acd708f9d9c6c42 Mon Sep 17 00:00:00 2001 From: Shinya Ohyanagi Date: Sun, 13 Oct 2019 13:52:55 +0900 Subject: [PATCH] Add release-drafter (#18) --- .github/workflows/release-drafter.yml | 7 +++++++ .github/workflows/release-management.yml | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/release-drafter.yml create mode 100644 .github/workflows/release-management.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..5ced0ae --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,7 @@ +name-template: '$NEXT_PATCH_VERSION' +tag-template: '$NEXT_PATCH_VERSION' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml new file mode 100644 index 0000000..e8a18f8 --- /dev/null +++ b/.github/workflows/release-management.yml @@ -0,0 +1,14 @@ +name: Release Management + +on: + push: + branches: + - master + +jobs: + update_draft_release: + runs-on: ubuntu-latest + steps: + - uses: toolmantim/release-drafter@v5.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}