PR review comment parsing

This commit is contained in:
Adam Majer 2024-09-11 12:27:20 +02:00
parent 0b6e639567
commit ab947586e9

View File

@ -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