1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-02 03:46:01 -04:00
gitea/services/issue
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
..
assignee_test.go
assignee.go
comments.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
commit_test.go
commit.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
content.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_test.go
issue.go Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
label_test.go
label.go
main_test.go
milestone_test.go
milestone.go
pull.go Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
reaction_test.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
status.go
template.go