Support migrating GitHub/GitLab PR draft status (#32242)

Resolve #32196
This commit is contained in:
Zettat123 authored and GitHub committed 2024-10-13 22:58:13 +03:00
1 parent 9df5ddaf44
commit 74664b08a0
4 files changed
+9 -1

No files matched your search

+1
View File
@@ -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 }