diff --git a/.github/actions/create-release-pr-for-gem/action.yml b/.github/actions/create-release-pr-for-gem/action.yml index fe78e95..1371173 100644 --- a/.github/actions/create-release-pr-for-gem/action.yml +++ b/.github/actions/create-release-pr-for-gem/action.yml @@ -62,10 +62,8 @@ runs: env: GH_TOKEN: ${{ env.GITHUB_TOKEN }} run: | - BODY=$(cat < /tmp/pr_body.txt ${{ steps.changelog.outputs.clean_changelog }} EOF - ) - ESCAPED_BODY=$(echo "$BODY" | sed 's/"/\\"/g') - gh pr create --title "chore: Release version to v${{ steps.changelog.outputs.version }}" --body "$ESCAPED_BODY" --base ${{ inputs.base-branch }} --head release/${{ inputs.tag-prefix }}${{ steps.changelog.outputs.version }} + gh pr create --title "chore: Release version to v${{ steps.changelog.outputs.version }}" --body-file /tmp/pr_body.txt --base ${{ inputs.base-branch }} --head release/${{ inputs.tag-prefix }}${{ steps.changelog.outputs.version }} shell: bash