mirror of
https://github.com/Comfy-Org/comfy-claude-prompt-library.git
synced 2026-11-04 23:37:33 +00:00
[PR #41] [MERGED] [fix] Correct GitHub PR review comments API syntax #42
Labels
No labels
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-claude-prompt-library#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-claude-prompt-library/pull/41
Author: @christian-byrne
Created: 7/24/2025
Status: ✅ Merged
Merged: 7/25/2025
Merged by: @christian-byrne
Base:
master← Head:fix/github-pr-review-comments-api📝 Commits (1)
5990770[fix] Correct GitHub PR review comments API syntax📊 Changes
1 file changed (+115 additions, -80 deletions)
View changed files
📝
.claude/commands/github/GH-PR-add-review-comments-to-pr.md(+115 -80)📄 Description
Summary
Fixes incorrect GitHub API usage in the PR review comments command that would cause API calls to fail.
Key Changes
/pulls/{pr}/reviews/{review_id}/comments(which doesn't exist) with correct/pulls/{pr}/commentsAccept: application/vnd.github+jsonandX-GitHub-Api-Version: 2022-11-28-ffor string parameters,-Ffor numeric parametersstart_line/start_sideparametersBefore/After
Before (incorrect):
After (correct):
The command now matches the exact syntax from GitHub's official documentation.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.