gitea/templates/shared
Lunny Xiao 85f31eb643
Fix codeowner detected diff base branch to mergebase (#29783) (#29807)
Fix #29763
Backport #29783 

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-17 02:40:06 +01:00
..
actions Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
secrets Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
user Always use whole user name as link (#27815) (#27838) 2023-10-30 12:25:40 +01:00
variables Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
webhook Use shared template for webhook icons (#26242) 2023-07-31 08:00:52 +00:00
combomarkdowneditor.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
issueicon.tmpl Fix codeowner detected diff base branch to mergebase (#29783) (#29807) 2024-03-17 02:40:06 +01:00
issuelist.tmpl Fix wrong due date rendering in issue list page (#28588) (#28591) 2023-12-22 17:25:43 +00:00
searchbottom.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
searchfile.tmpl Fix wrong line number in code search result (#29260) (#29623) 2024-03-06 10:05:41 +01:00
searchinput.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00