mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-08 13:28:25 +08:00
Support migrating GitHub/GitLab PR draft status (#32242)
Resolve #32196
This commit is contained in:
@ -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 }
|
||||
|
Reference in New Issue
Block a user