提交 1ce31ed9 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!24 Add action_desc property in PullRequest hook event

Merge pull request !24 from imjoey/add_action_desc_for_pr_hook
......@@ -170,13 +170,13 @@ type PullRequestHook struct {
Tester []UserHook `json:"tester,omitempty"`
Testers []UserHook `json:"testers,omitempty"`
NeedTest bool `json:"need_test,omitempty"`
need_review bool `json:"need_review,omitempty"`
NeedReview bool `json:"need_review,omitempty"`
Milestone *MilestoneHook `json:"milestone,omitempty"`
Head *BranchHook `json:"head,omitempty"`
Base *BranchHook `json:"base,omitempty"`
Merged bool `json:"merged,omitempty"`
Mergeable bool `json:"mergeable,omitempty"`
merge_status string `json:"merge_status,omitempty"`
MergeStatus string `json:"merge_status,omitempty"`
UpdatedBy *UserHook `json:"updated_by,omitempty"`
Comments int32 `json:"comments,omitempty"`
Commits int32 `json:"commits,omitempty"`
......
......@@ -72,6 +72,7 @@ type RepoInfo struct {
type PullRequestEvent struct {
Action *string `json:"action,omitempty"`
ActionDesc *string `json:"action_desc,omitempty"`
PullRequest *PullRequestHook `json:"pull_request,omitempty"`
Number int64 `json:"number,omitempty"`
IID int64 `json:"iid,omitempty"`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册