We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
comment
1 parent 401948c commit c7a55a0Copy full SHA for c7a55a0
1 file changed
src/github.sh
@@ -101,6 +101,6 @@ github::comment() {
101
-H "$GITHUB_API_HEADER" \
102
-X POST \
103
-H "Content-Type: application/json" \
104
- -d "{\"body\":$comment}" \
+ -d "{\"body\":\"$comment\"}" \
105
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/comments"
106
}
0 commit comments