diff options
author | Zettat123 <zettat123@gmail.com> | 2024-10-14 03:58:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-13 22:58:13 +0300 |
commit | 74664b08a004393ce013e872e47901f52645b65a (patch) | |
tree | 0ab4db690d087f57697a32f9ea32a3b6bfa4896e /modules | |
parent | 9df5ddaf44aa5a3f319acba7b18645b7b1d4d8a2 (diff) | |
download | gitea-74664b08a004393ce013e872e47901f52645b65a.tar.gz gitea-74664b08a004393ce013e872e47901f52645b65a.zip |
Support migrating GitHub/GitLab PR draft status (#32242)
Resolve #32196
Diffstat (limited to 'modules')
-rw-r--r-- | modules/migration/pullrequest.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/migration/pullrequest.go b/modules/migration/pullrequest.go index 1435991bd2..fbfdff0315 100644 --- a/modules/migration/pullrequest.go +++ b/modules/migration/pullrequest.go @@ -37,6 +37,7 @@ type PullRequest struct { ForeignIndex int64 Context DownloaderContext `yaml:"-"` EnsuredSafe bool `yaml:"ensured_safe"` + IsDraft bool `yaml:"is_draft"` } func (p *PullRequest) GetLocalIndex() int64 { return p.Number } |