1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-02 08:14:25 +00:00
gitea/models/issues
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
..
assignees_test.go
assignees.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
comment_code.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
comment_list.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
comment_test.go
comment.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
content_history_test.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
content_history.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
dependency_test.go
dependency.go
issue_index.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
issue_lock.go
issue_project.go
issue_search.go remove repetitive words (#29695) 2024-03-11 09:24:23 +00:00
issue_stats.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
issue_test.go
issue_update.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue.go Refactor some Str2html code (#29397) 2024-03-01 07:11:51 +00:00
label_test.go
label.go Refactor label.IsArchived() (#29750) 2024-03-13 07:04:07 +01:00
main_test.go
milestone_list.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
milestone_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
pull_list.go
pull_test.go
pull.go Fix codeowner detected diff base branch to mergebase (#29783) 2024-03-15 05:13:09 +00:00
reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
review_list.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
review_test.go
review.go
stopwatch_test.go
stopwatch.go
tracked_time_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
tracked_time.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00