From a5af082d82fd71146865dba0af8d045034aeb979 Mon Sep 17 00:00:00 2001 From: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com> Date: Mon, 20 Oct 2025 13:41:35 +0200 Subject: [PATCH] chore: fix parsing of release body message (#2498) Signed-off-by: Michele Dolfi --- .github/workflows/discord-release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml index 8efd1e12..33b4b869 100644 --- a/.github/workflows/discord-release.yml +++ b/.github/workflows/discord-release.yml @@ -17,7 +17,12 @@ jobs: RELEASE_TAG=${{ github.event.release.tag_name }} RELEASE_NAME="${{ github.event.release.name }}" RELEASE_URL=${{ github.event.release.html_url }} - RELEASE_BODY="${{ github.event.release.body }}" + + # Capture the body safely (handles backticks, $, ", etc.) + RELEASE_BODY=$(cat <<'EOF' + ${{ github.event.release.body }} + EOF + ) # Fallback if release name is empty if [ -z "$RELEASE_NAME" ]; then