repo: either "baseOwner/baseRepo" or "baseOwner/baseRepo:defaultBranch" prHead: "headOwner/headRepo:headBranch"
(repo, prHead string)
| 122 | // repo: either "baseOwner/baseRepo" or "baseOwner/baseRepo:defaultBranch" |
| 123 | // prHead: "headOwner/headRepo:headBranch" |
| 124 | func stubPR(repo, prHead string) (ghrepo.Interface, *api.PullRequest) { |
| 125 | return _stubPR(repo, prHead, 123, "PR title", "OPEN", false) |
| 126 | } |
| 127 | |
| 128 | func _stubPR(repo, prHead string, number int, title string, state string, isDraft bool) (ghrepo.Interface, *api.PullRequest) { |
| 129 | defaultBranch := "" |
no test coverage detected