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