From 3f67821c4ce41a7e31d30c21c225af60ea8b0ec3 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 6 Jul 2024 19:06:04 -0700 Subject: [PATCH] build(ghcr_deploy.yml): fix discord release note push --- .github/workflows/ghcr_deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ghcr_deploy.yml b/.github/workflows/ghcr_deploy.yml index e51098d2c..51e24f856 100644 --- a/.github/workflows/ghcr_deploy.yml +++ b/.github/workflows/ghcr_deploy.yml @@ -289,7 +289,8 @@ jobs: repo: context.repo.repo, release_id: process.env.RELEASE_ID, }); - return response.data.body; + const formattedBody = JSON.stringify(response.data.body).slice(1, -1); + return formattedBody; } catch (error) { core.setFailed(error.message); }