Update PullRequest struct (#606)
Add AllowMaintainerEdit Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/606 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
aef4e5e2bd
commit
8f846bdb9b
1 changed files with 6 additions and 5 deletions
|
@ -48,6 +48,7 @@ type PullRequest struct {
|
||||||
Merged *time.Time `json:"merged_at"`
|
Merged *time.Time `json:"merged_at"`
|
||||||
MergedCommitID *string `json:"merge_commit_sha"`
|
MergedCommitID *string `json:"merge_commit_sha"`
|
||||||
MergedBy *User `json:"merged_by"`
|
MergedBy *User `json:"merged_by"`
|
||||||
|
AllowMaintainerEdit bool `json:"allow_maintainer_edit"`
|
||||||
|
|
||||||
Base *PRBranchInfo `json:"base"`
|
Base *PRBranchInfo `json:"base"`
|
||||||
Head *PRBranchInfo `json:"head"`
|
Head *PRBranchInfo `json:"head"`
|
||||||
|
|
Loading…
Reference in a new issue