gitea/models
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
..
actions
activities Add more stats tables (#29730) 2024-03-12 11:21:09 +00:00
admin
asymkey
auth
avatars
db
dbfs
fixtures
git
issues Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
migrations Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
organization
packages
perm
project
pull
repo Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
secret
shared/types
system
unit
unittest
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go