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 Make runs-on support variable expression (#29468) 2024-03-08 06:14:35 +00:00
activities Add more stats tables (#29730) 2024-03-12 11:21:09 +00:00
admin
asymkey
auth
avatars
db Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-08 03:19:35 +00:00
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 Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-08 03:19:35 +00:00
pull
repo Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
secret Make runs-on support variable expression (#29468) 2024-03-08 06:14:35 +00:00
shared/types
system
unit
unittest
user remove repetitive words (#29695) 2024-03-11 09:24:23 +00:00
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