mirror of https://github.com/go-gitea/gitea.git
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> |
||
|---|---|---|
| .. | ||
| assignee.go | ||
| assignee_test.go | ||
| comments.go | ||
| commit.go | ||
| commit_test.go | ||
| content.go | ||
| issue.go | ||
| issue_test.go | ||
| label.go | ||
| label_test.go | ||
| main_test.go | ||
| milestone.go | ||
| milestone_test.go | ||
| pull.go | ||
| reaction.go | ||
| reaction_test.go | ||
| status.go | ||
| template.go | ||