1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 02:24:27 +00: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 Use minio/sha256-simd for accelerated SHA256 (#23052) 2023-02-22 14:21:46 -05:00
mail_comment.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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 Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
mail.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
mailer_test.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
mailer.go Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
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