Skip to content

Commit 6f79267

Browse files
authored
Update services/issue/pull.go
1 parent 64db717 commit 6f79267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/issue/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func IsCodeOwnerFile(f string) bool {
4848
}
4949

5050
func PullRequestCodeOwnersReview(ctx context.Context, pr *issues_model.PullRequest) ([]*ReviewRequestNotifier, error) {
51-
return PullRequestCodeOwnersReviewSpecialCommits(ctx, pr, "", "")
51+
return PullRequestCodeOwnersReviewSpecialCommits(ctx, pr, "", "") // no commit is provided, then it uses PR's base&head branch
5252
}
5353

5454
func PullRequestCodeOwnersReviewSpecialCommits(ctx context.Context, pr *issues_model.PullRequest, startCommitID, endCommitID string) ([]*ReviewRequestNotifier, error) {

0 commit comments

Comments
 (0)