Skip to content

Commit a36a323

Browse files
pontemontiCopilot
andauthored
Update .claude/commands/post-review-comments.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 144391f commit a36a323

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.claude/commands/post-review-comments.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,16 @@ For findings that have `diff_line` and `diff_side` values, post as **inline revi
233233

234234
```bash
235235
gh api repos/<OWNER>/<REPO>/pulls/<PR_NUMBER>/comments \
236-
-f body="<comment_body>" \
237-
-f commit_id="<HEAD_COMMIT_SHA>" \
238-
-f path="<file_path>" \
239-
-F line=<diff_line> \
240-
-f side="<diff_side>"
236+
--method POST \
237+
--input - << 'EOF'
238+
{
239+
"body": "<comment_body>",
240+
"commit_id": "<HEAD_COMMIT_SHA>",
241+
"path": "<file_path>",
242+
"line": <diff_line>,
243+
"side": "<diff_side>"
244+
}
245+
EOF
241246
```
242247

243248
**Comment body format for inline comments** (keep concise - this appears in the code):

0 commit comments

Comments
 (0)