From 5591fce236cbfb0a2e0fd8b966cc54925a9b166c Mon Sep 17 00:00:00 2001 From: longnghia <41385034+longnghia@users.noreply.github.com> Date: Sat, 7 Sep 2024 23:42:01 +0700 Subject: [PATCH] release action with CHANGELOG --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e93c77..8c553c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Build Changelog + id: github_release + uses: mikepenz/release-changelog-builder-action@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release uses: softprops/action-gh-release@v2 with: - body: "Automated release" + body: ${{steps.github_release.outputs.changelog}} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}