Skip to content

Commit e6723ef

Browse files
authored
Add migrated pulls to pull request task queue (#13331) (#13335)
Backport #13331 Fix #13321 Signed-off-by: Andrew Thornton <[email protected]>
1 parent 732f22a commit e6723ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/migrations/gitea.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828
"code.gitea.io/gitea/modules/setting"
2929
"code.gitea.io/gitea/modules/structs"
3030
"code.gitea.io/gitea/modules/timeutil"
31+
"code.gitea.io/gitea/services/pull"
3132

3233
gouuid "github.com/google/uuid"
3334
)
@@ -528,6 +529,7 @@ func (g *GiteaLocalUploader) CreatePullRequests(prs ...*base.PullRequest) error
528529
}
529530
for _, pr := range gprs {
530531
g.issues.Store(pr.Issue.Index, pr.Issue.ID)
532+
pull.AddToTaskQueue(pr)
531533
}
532534
return nil
533535
}

0 commit comments

Comments
 (0)