mirror of
https://github.com/go-gitea/gitea
synced 2025-07-08 03:27:19 +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{
|
issue := issues_model.Issue{
|
||||||
RepoID: g.repo.ID,
|
RepoID: g.repo.ID,
|
||||||
Repo: g.repo,
|
Repo: g.repo,
|
||||||
Title: prTitle,
|
Title: util.TruncateRunes(prTitle, 255),
|
||||||
Index: pr.Number,
|
Index: pr.Number,
|
||||||
Content: pr.Content,
|
Content: pr.Content,
|
||||||
MilestoneID: milestoneID,
|
MilestoneID: milestoneID,
|
||||||
|
Reference in New Issue
Block a user