mirror of
https://github.com/go-gitea/gitea
synced 2025-07-04 17:47:19 +00:00
Support migrating GitHub/GitLab PR draft status (#32242)
Resolve #32196
This commit is contained in:
@ -737,6 +737,7 @@ func (g *GithubDownloaderV3) GetPullRequests(page, perPage int) ([]*base.PullReq
|
||||
PatchURL: pr.GetPatchURL(), // see below for SECURITY related issues here
|
||||
Reactions: reactions,
|
||||
ForeignIndex: int64(*pr.Number),
|
||||
IsDraft: pr.GetDraft(),
|
||||
})
|
||||
|
||||
// SECURITY: Ensure that the PR is safe
|
||||
|
Reference in New Issue
Block a user