From 28fe3e2c3d8f8a1b88c3df760d9e91e58cbda312 Mon Sep 17 00:00:00 2001 From: katspaugh Date: Wed, 5 Jul 2023 16:47:09 +0200 Subject: [PATCH] Chore: escape quotes in release action --- .github/workflows/tag-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 2c6aeaa7c1..b0ae786b6e 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -3,7 +3,7 @@ name: Tag & GitHub release on: pull_request_target: branches: - - main + - dev types: [closed] jobs: @@ -22,7 +22,7 @@ jobs: run: | NEW_VERSION=$(node -p 'require("./package.json").version') echo "version=v$NEW_VERSION" >> $GITHUB_OUTPUT - echo "${{ github.event.pull_request.body }}" > CHANGELOG.md + echo ${{ toJSON(github.event.pull_request.body) }} > CHANGELOG.md - name: Create a git tag if: github.event.pull_request.merged == true