mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02:00
Support migrating GitHub/GitLab PR draft status (#32242)
Resolve #32196
This commit is contained in:
1 parent
9df5ddaf44
commit
74664b08a0
4 files changed
+9
-1
No files matched your search
@@ -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