Skip to content

Commit 480de54

Browse files
committed
Merge branch 'lunny/add_reviewer_notifier_pr_sync' of github.com:lunny/gitea into lunny/add_reviewer_notifier_pr_sync
2 parents f8b02f7 + 6f79267 commit 480de54

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)