From c7a55a022747628b50f3eb5bf863b9e796b8f274 Mon Sep 17 00:00:00 2001 From: Keunhyung Chung Date: Mon, 2 Sep 2024 19:33:49 +0900 Subject: [PATCH] fix: add Escaped Double Quotes to `comment` (#82) Add double quotes to `comment` --- src/github.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.sh b/src/github.sh index f575a0d..25d9d9a 100644 --- a/src/github.sh +++ b/src/github.sh @@ -101,6 +101,6 @@ github::comment() { -H "$GITHUB_API_HEADER" \ -X POST \ -H "Content-Type: application/json" \ - -d "{\"body\":$comment}" \ + -d "{\"body\":\"$comment\"}" \ "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/comments" }