From 86c5fafb0fe5139ffdc3c36c3d2a58f0369a2fff Mon Sep 17 00:00:00 2001 From: Vibhu Prashar Date: Mon, 1 Jan 2024 23:22:12 +0530 Subject: [PATCH] feat: add support for generating changelog Signed-off-by: Vibhu Prashar --- .github/workflows/release.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7691eb0..d4eb40a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,6 +45,12 @@ jobs: run: | git push --follow-tags + - name: Generate changelog + id: changelog + uses: metcalfc/changelog-generator@v4.2.0 + with: + myToken: ${{ secrets.GITHUB_TOKEN }} + - name: Create Release id: create_release uses: actions/create-release@v1 @@ -53,5 +59,6 @@ jobs: with: tag_name: "v${{ github.event.inputs.tag }}" release_name: "v${{github.event.inputs.tag}}" + body: ${{ steps.changelog.outputs.changelog }} draft: false prerelease: false