PR review comment parsing
This commit is contained in:
parent
0b6e639567
commit
ab947586e9
@ -268,7 +268,7 @@ func parseRequestJSONOrg(reqType string, data []byte) (org *common.Organization,
|
|||||||
org = issue.Repository.Owner
|
org = issue.Repository.Owner
|
||||||
extraAction = issue.Action
|
extraAction = issue.Action
|
||||||
|
|
||||||
case common.RequestType_PRReviewAccepted, common.RequestType_PRReviewRejected:
|
case common.RequestType_PRReviewAccepted, common.RequestType_PRReviewRejected, common.RequestType_PRReviewComment:
|
||||||
pr := common.PullRequestWebhookEvent{}
|
pr := common.PullRequestWebhookEvent{}
|
||||||
if err = json.Unmarshal(data, &pr); err != nil {
|
if err = json.Unmarshal(data, &pr); err != nil {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user