mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-16 23:12:43 +00:00
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
|
@ -723,6 +723,7 @@ func (g *GitlabDownloader) GetPullRequests(page, perPage int) ([]*base.PullReque
|
|||
PatchURL: pr.WebURL + ".patch",
|
||||
ForeignIndex: int64(pr.IID),
|
||||
Context: gitlabIssueContext{IsMergeRequest: true},
|
||||
IsDraft: pr.Draft,
|
||||
})
|
||||
|
||||
// SECURITY: Ensure that the PR is safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue