You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/convert
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>
11 months ago
..
activity.go For API attachments, use API URL (#25639) 2 years ago
attachment.go Fix attachment download bug (#27486) (#27571) 1 year ago
convert.go Fix `convert.ToTeams` on empty input (#28426) (#28767) 1 year ago
git_commit.go Add file status for API "Get a single commit from a repository" (#16205) (#25831) 2 years ago
git_commit_test.go
issue.go Allow to archive labels (#26478) 2 years ago
issue_comment.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
issue_test.go
main_test.go move repository deletion to service layer (#26948) 1 year ago
mirror.go Add `RemoteAddress` to mirrors (#26952) 1 year ago
notification.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
package.go Fix incorrect relative/absolute URL usages (#29531) (#29547) 12 months ago
pull.go Fix codeowner detected diff base branch to mergebase (#29783) (#29807) 11 months ago
pull_review.go Fix possible NPE in ToPullReviewList (#29759) (#29775) 12 months ago
pull_review_test.go Fix possible NPE in ToPullReviewList (#29759) (#29775) 12 months ago
pull_test.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
release.go add Upload URL to release API (#26663) 2 years ago
release_test.go add Upload URL to release API (#26663) 2 years ago
repository.go Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203) (#27251) 1 year ago
secret.go feat: implement organization secret creation API (#26566) 2 years ago
status.go refactor improve NoBetterThan (#26126) 2 years ago
user.go Fix API leaking Usermail if not logged in (#25097) 2 years ago
user_test.go Add context cache as a request level cache (#22294) 2 years ago
utils.go
utils_test.go Rewrite queue (#24505) 2 years ago
wiki.go Fix an actions schedule bug (#28942) (#28999) 1 year ago