1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05: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 Remove deadcode under models/issues (#28536) 2023-12-19 20:12:02 +01:00
assignee.go Allow non-admin users to delete review requests (#29057) 2024-02-24 12:38:43 +00:00
comments.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
commit_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
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 Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
issue.go Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
label_test.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
label.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
milestone_test.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
milestone.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
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 Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
template.go Refactor issue template parsing and fix API endpoint (#29069) 2024-02-12 05:04:10 +00:00