Skip to content

Commit 642f0af

Browse files
committed
chore: apply review comments
1 parent 0fdad3a commit 642f0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/sticky-pr-comment/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
set -Eeuo pipefail
5858
5959
MARKER_COMMENT="<!-- ${MARKER} -->"
60-
FULL_BODY="${MARKER_COMMENT}\n${BODY}"
60+
FULL_BODY=$(printf "%s\n%s" "${MARKER_COMMENT}" "${BODY}")
6161
EXISTING_ID=$(gh api "repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/comments" --jq ".[] | select(.body|contains(\"${MARKER_COMMENT}\")) | .id" | head -n1 || true)
6262
6363
if [ -n "${EXISTING_ID}" ]; then

0 commit comments

Comments
 (0)