From 46e56137440fe1b0a20f8d5ab2b11f5fb3177fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Miko=C5=82ajczak?= Date: Wed, 21 Jan 2026 10:53:42 +0100 Subject: [PATCH] add encouraging comment footer --- .claude/scripts/createInlineComment.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.claude/scripts/createInlineComment.sh b/.claude/scripts/createInlineComment.sh index 755930d98b9f..8253e89acfc1 100755 --- a/.claude/scripts/createInlineComment.sh +++ b/.claude/scripts/createInlineComment.sh @@ -47,11 +47,15 @@ readonly LINE_ARG="${3:-}" validate_rule "$BODY_ARG" echo "Comment approved: $COMMENT_STATUS_REASON" +# Append footer to comment body +readonly FOOTER="\n\n---\n\nPlease rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency." +readonly COMMENT_BODY="${BODY_ARG}${FOOTER}" + COMMIT_ID=$(gh api "/repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER" --jq '.head.sha') readonly COMMIT_ID PAYLOAD=$(jq -n \ - --arg body "$BODY_ARG" \ + --arg body "$COMMENT_BODY" \ --arg path "$PATH_ARG" \ --argjson line "$LINE_ARG" \ --arg commit_id "$COMMIT_ID" \