Support migrating GitHub/GitLab PR draft status (#32242)
Resolve #32196 (cherry picked from commit 74664b08a004393ce013e872e47901f52645b65a)
This commit is contained in:
parent
dfe9bdd15f
commit
89446e60a6
4 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue