feat(github): implement PRReader interface (#80)
Implement PRReader conformance on the GitHub client: GetPullRequest, GetPullRequestDiff, GetPullRequestFiles (paginated, populates Patch), GetCommitStatuses (merges commit statuses + check runs). Adds compile-time PRReader conformance check. Requires PR A. Part 2 of 3 for #80.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package github_test
|
||||
|
||||
import "gitea.weiker.me/rodin/review-bot/vcs"
|
||||
|
||||
var _ vcs.PRReader = (*Client)(nil)
|
||||
Reference in New Issue
Block a user