We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fdad3a commit 642f0afCopy full SHA for 642f0af
.github/actions/sticky-pr-comment/action.yml
@@ -57,7 +57,7 @@ runs:
57
set -Eeuo pipefail
58
59
MARKER_COMMENT="<!-- ${MARKER} -->"
60
- FULL_BODY="${MARKER_COMMENT}\n${BODY}"
+ FULL_BODY=$(printf "%s\n%s" "${MARKER_COMMENT}" "${BODY}")
61
EXISTING_ID=$(gh api "repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/comments" --jq ".[] | select(.body|contains(\"${MARKER_COMMENT}\")) | .id" | head -n1 || true)
62
63
if [ -n "${EXISTING_ID}" ]; then
0 commit comments