From 2a3b724b98743d775595bcdc5bc62e67b296a618 Mon Sep 17 00:00:00 2001 From: butlerx Date: Wed, 25 Aug 2021 10:37:02 +0100 Subject: [PATCH] add changelog for automated releases --- .github/workflows/release.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bed56b..a8884b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,15 @@ jobs: - name: Checkout code uses: actions/checkout@master - name: Create Release - id: create_release - uses: elgohr/Github-Release-Action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: fregante/release-with-changelog@v3 with: - release: Release ${{ github.ref }} + token: ${{ secrets.NODE_GITHUB_TOKEN }} + title: "Release {tag}" + exclude: true + commit-template: '- {title} ← {hash}' + template: | + ### Changelog + + {commits} + + {range}