LearnNewsExamplesServices
Frontmatter
id7483
titleImplement PR Commenting Endpoint
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 14, 2025, 12:47 PM
updatedAtOct 14, 2025, 12:55 PM
githubUrlhttps://github.com/neomjs/neo/issues/7483
authortobiu
commentsCount1
parentIssue7477
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 14, 2025, 12:55 PM

Implement PR Commenting Endpoint

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 14, 2025, 12:47 PM

To enable the agent to participate in code reviews, it needs the ability to post comments on pull requests. This ticket covers the implementation of a new endpoint on the GitHub Workflow MCP server for this purpose.

The endpoint will allow the agent to submit a comment for a specific pull request.

Acceptance Criteria

  1. The openapi.yaml is updated with a new POST /pull-requests/{pr_number}/comments endpoint.
  2. The endpoint accepts a JSON body containing the comment text.
  3. A new createComment function is added to pullRequestService.mjs.
  4. The service function uses the gh pr comment command to post the comment to the specified pull request.
  5. The routes/pullRequests.mjs file is updated with the new route and handler.
tobiu assigned to @tobiu on Oct 14, 2025, 12:48 PM
tobiu added the enhancement label on Oct 14, 2025, 12:48 PM
tobiu added the ai label on Oct 14, 2025, 12:48 PM
tobiu added parent issue #7477 on Oct 14, 2025, 12:48 PM
tobiu referenced in commit 1c16d76 - "Implement PR Commenting Endpoint #7483" on Oct 14, 2025, 12:51 PM
tobiu
tobiu Oct 14, 2025, 12:55 PM
Image
tobiu closed this issue on Oct 14, 2025, 12:55 PM