From c0809e281fc79f02da2e5038bbd41c93c6d48413 Mon Sep 17 00:00:00 2001 From: Shota Minami Date: Wed, 21 Feb 2024 07:16:35 +0000 Subject: [PATCH] Update release.yaml to avoid command substitution on Markdown --- .github/workflows/Release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Release.yaml b/.github/workflows/Release.yaml index f0328615ccb..baed581a687 100644 --- a/.github/workflows/Release.yaml +++ b/.github/workflows/Release.yaml @@ -13,7 +13,7 @@ on: - synchronize - unlabeled concurrency: release - + jobs: release: name: Release @@ -97,8 +97,10 @@ jobs: format: ExternalIssueRef continue-on-error: true - name: Update release description + env: + PULL_REQUEST_BODY: ${{ github.event.pull_request.body }} run: | - echo "${{ github.event.pull_request.body }}" >> release_description.txt + echo "$PULL_REQUEST_BODY" >> release_description.txt echo "" >> release_description.txt echo "# Related Issues " >> release_description.txt echo "${{ steps.linked_issues.outputs.issues }}" >> release_description.txt