From ef24fa517ffcf3e889feda2b3263483a5e0761e3 Mon Sep 17 00:00:00 2001 From: Vincent de Saboulin Date: Thu, 9 Jan 2025 14:24:46 +0100 Subject: [PATCH] Update update-changelogs.yml --- .github/workflows/update-changelogs.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-changelogs.yml b/.github/workflows/update-changelogs.yml index 886051e56..c912e9def 100644 --- a/.github/workflows/update-changelogs.yml +++ b/.github/workflows/update-changelogs.yml @@ -15,7 +15,7 @@ on: jobs: build: - name: Create Release + name: Update Change Logs runs-on: ubuntu-latest steps: - name: Checkout code @@ -53,9 +53,8 @@ jobs: echo "# 📜 Change Log" > ./docs/changelog.md echo "" >> ./docs/changelog.md current_month=$(date +"%B %Y") - echo "# ${current_month}" >> ./docs/changelog.md - echo "# ${{ github.event.milestone.title }}" | sed 's/#/##/g' >> ./docs/changelog.md - echo "${{ steps.read_release_file.outputs.content }}" | sed 's/#/##/g' >> ./docs/changelog.md + echo "## ${current_month}" >> ./docs/changelog.md + echo "${{ steps.read_release_file.outputs.content }}" | sed 's/^#/##/g' >> ./docs/changelog.md cat changelog_tmp.md >> ./docs/changelog.md - name: Pushes docs