0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-21 00:29:14 +02:00
gitea/services/mailer
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
..
incoming Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
token
mail.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
mail_comment.go
mail_issue.go Fix codeowner detected diff base branch to mergebase (#29783) (#29807) 2024-03-17 02:40:06 +01:00
mail_release.go Fix missing link on outgoing new release notifications (#29079) (#29300) 2024-02-21 19:01:48 +00:00
mail_repo.go Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
mail_team_invite.go Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
mail_test.go
mailer.go Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
mailer_test.go
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
notify.go Fix codeowner detected diff base branch to mergebase (#29783) (#29807) 2024-03-17 02:40:06 +01:00