From c9a1b147e68692edd169509a27d6cb0f0265bff1 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Fri, 16 Aug 2024 15:31:50 +0200 Subject: [PATCH] Do better --- .github/workflows/release-workflows.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-workflows.yaml b/.github/workflows/release-workflows.yaml index 2bab9ed6..37cdbc6d 100644 --- a/.github/workflows/release-workflows.yaml +++ b/.github/workflows/release-workflows.yaml @@ -1,6 +1,6 @@ name: Release Workflow -on: [merge, push] +on: [push] jobs: release-managment: @@ -36,11 +36,15 @@ jobs: # Update the summary in info.xml sed -i "s|.*|${description}|" apinfo/info.xml - - name: Commit and push updated info.xml + - name: Run Changelog CI + uses: saadmk11/changelog-ci@v1.1.2 + + - name: Commit and push updated info.xml and changelog.md run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add apinfo/info.xml + git add changelog.md git commit -m "Update version and summary in info.xml to ${{ steps.version.outputs.version }}" git push origin ${{ github.head_ref }}