Skip to content

Add maintainer PR comment posting#699

Open
GhanshyamJha05 wants to merge 1 commit into
Coder-s-OG-s:mainfrom
GhanshyamJha05:codex-pr-comment-posting
Open

Add maintainer PR comment posting#699
GhanshyamJha05 wants to merge 1 commit into
Coder-s-OG-s:mainfrom
GhanshyamJha05:codex-pr-comment-posting

Conversation

@GhanshyamJha05

Copy link
Copy Markdown
Contributor

Summary

Adds maintainer-authored PR comment posting from the PR detail page. This lets maintainers write free-text comments directly to the GitHub PR using the installation Octokit client.

Type of Change

  • Bug fix
  • New feature
  • UI / UX improvement
  • Refactor
  • Documentation
  • Other

Related Issue

Closes #684

What was changed?

  • Added postPrComment(prId, body) server action using octokit.issues.createComment.
  • Reused maintainer auth, installation lookup, repo scoping, rate limiting, audit logging, and route revalidation.
  • Added a PR comment box on the maintainer PR detail page for open PRs.
  • Exported the new maintainer action.
  • Added tests for success, validation, auth, scoping, missing PR/install, and GitHub API failure paths.

Screenshots

Not added.

Checklist

  • My code follows the project structure and conventions
  • I tested this locally (npm run dev)
  • No hardcoded secrets or credentials
  • I have updated documentation if needed

@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

@GhanshyamJha05 is attempting to deploy a commit to the codersogs-3057's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR review: inline comment posting

1 participant