0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 22:24:27 +01:00
gitea/services/pull
Lunny Xiao 277f90d416
Fix codeowner detected diff base branch to mergebase (#29783)
Fix #29763

This PR fixes 2 problems with CodeOwner in the pull request.
- Don't use the pull request base branch but merge-base as a diff base to
detect the code owner.
- CodeOwner detection in fork repositories will be disabled because
almost all the fork repositories will not change CODEOWNERS files but it
should not be used on fork repositories' pull requests.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-15 05:13:09 +00:00
..
check.go
check_test.go
comment.go
commit_status.go
commit_status_test.go
edits.go
lfs.go
main_test.go
merge.go
merge_ff_only.go
merge_merge.go
merge_prepare.go
merge_rebase.go
merge_squash.go
merge_test.go
patch.go
patch_unmerged.go
pull.go
pull_test.go
review.go
temp_repo.go
update.go
update_rebase.go