File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func (p *PullRequest) GetContext() DownloaderContext { return p.Context }
45
45
46
46
// IsForkPullRequest returns true if the pull request from a forked repository but not the same repository
47
47
func (p * PullRequest ) IsForkPullRequest () bool {
48
- return p .Head .RepoPath () != p .Base .RepoPath ()
48
+ return p .Head .RepoFullName () != p .Base .RepoFullName ()
49
49
}
50
50
51
51
// GetGitRefName returns pull request relative path to head
@@ -62,8 +62,8 @@ type PullRequestBranch struct {
62
62
OwnerName string `yaml:"owner_name"`
63
63
}
64
64
65
- // RepoPath returns pull request repo path
66
- func (p PullRequestBranch ) RepoPath () string {
65
+ // RepoFullName returns pull request repo full name
66
+ func (p PullRequestBranch ) RepoFullName () string {
67
67
return fmt .Sprintf ("%s/%s" , p .OwnerName , p .RepoName )
68
68
}
69
69
You can’t perform that action at this time.
0 commit comments