GitHub-specific reviewer that adds PR detail and review capabilities to a GitHubProvider. Implements IScmReviewer trait.
const provider = createGitHubProvider('owner/repo');const reviewer = new GitHubReviewer(provider);const detail = await reviewer.getPullRequestDetail(42); Copy
const provider = createGitHubProvider('owner/repo');const reviewer = new GitHubReviewer(provider);const detail = await reviewer.getPullRequestDetail(42);
Fetch PR with full file diffs and stats.
Post a review on a pull request.
Fetch issue with author association and state.
List comments with author associations.
GitHub-specific reviewer that adds PR detail and review capabilities to a GitHubProvider. Implements IScmReviewer trait.
Example