From 2491426be79dff3b0910f5548eecd808ae459626 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Wed, 19 Mar 2025 13:50:46 -0400 Subject: [PATCH] Fix release notes API call with heredoc syntax (#27096) Release Notes: - N/A --- .github/workflows/community_release_actions.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/community_release_actions.yml b/.github/workflows/community_release_actions.yml index 6a87cef10d..9d1aef8b23 100644 --- a/.github/workflows/community_release_actions.yml +++ b/.github/workflows/community_release_actions.yml @@ -61,7 +61,9 @@ jobs: curl -X POST "https://zed.dev/api/send_release_notes_email" \ -H "Authorization: Bearer ${{ secrets.RELEASE_NOTES_API_TOKEN }}" \ -H "Content-Type: application/json" \ - -d '{ - "version": "${{ github.event.release.tag_name }}", - "markdown_body": ${{ toJSON(github.event.release.body) }} - }' + -d @- <<-JSON + { + "version": "${{ github.event.release.tag_name }}", + "markdown_body": ${{ toJSON(github.event.release.body) }} + } + JSON