mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 13:19:37 -05:00
Merge pull request '[BUG] Use correct head commit for CODEOWNER' (#2672) from gusted/forgejo-bp-2658 into v1.21/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2672 Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
commit
b06e953395
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ func PullRequestCodeOwnersReview(ctx context.Context, pull *Issue, pr *PullReque
|
||||||
}
|
}
|
||||||
// Use the merge base as the base instead of the main branch to avoid problems
|
// Use the merge base as the base instead of the main branch to avoid problems
|
||||||
// if the pull request is out of date with the base branch.
|
// if the pull request is out of date with the base branch.
|
||||||
changedFiles, err := repo.GetFilesChangedBetween(prInfo.MergeBase, pr.HeadCommitID)
|
changedFiles, err := repo.GetFilesChangedBetween(prInfo.MergeBase, prInfo.HeadCommitID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue