repo: either "baseOwner/baseRepo" or "baseOwner/baseRepo:defaultBranch" prHead: "headOwner/headRepo:headBranch"
(repo, prHead string)
| 107 | // repo: either "baseOwner/baseRepo" or "baseOwner/baseRepo:defaultBranch" |
| 108 | // prHead: "headOwner/headRepo:headBranch" |
| 109 | func stubPR(repo, prHead string) (ghrepo.Interface, *api.PullRequest) { |
| 110 | return _stubPR(repo, prHead, 123, "PR title", "OPEN", false) |
| 111 | } |
| 112 | |
| 113 | func _stubPR(repo, prHead string, number int, title string, state string, isDraft bool) (ghrepo.Interface, *api.PullRequest) { |
| 114 | defaultBranch := "" |
no test coverage detected