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

Resolve #32196
This commit is contained in:
Zettat123
2024-10-14 03:58:13 +08:00
committed by GitHub
parent 9df5ddaf44
commit 74664b08a0
4 changed files with 9 additions and 1 deletions

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 }