fix: add Escaped Double Quotes to comment (#82)

Add double quotes to `comment`
This commit is contained in:
Keunhyung Chung 2024-09-02 19:33:49 +09:00 committed by GitHub
parent 401948ce79
commit c7a55a0227
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -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"
}