mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 19:17:21 +00:00
Backport #34577 by @lunny Fix #34294 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@ -765,7 +765,7 @@ func (g *GiteaLocalUploader) newPullRequest(ctx context.Context, pr *base.PullRe
|
||||
issue := issues_model.Issue{
|
||||
RepoID: g.repo.ID,
|
||||
Repo: g.repo,
|
||||
Title: prTitle,
|
||||
Title: util.TruncateRunes(prTitle, 255),
|
||||
Index: pr.Number,
|
||||
Content: pr.Content,
|
||||
MilestoneID: milestoneID,
|
||||
|
Reference in New Issue
Block a user