added case PullRequestReviewEvent to generateEvent
This commit is contained in:
parent
88bc857a31
commit
7da3b6dacf
1 changed files with 17 additions and 0 deletions
|
@ -180,6 +180,23 @@ function generateEvent(event) {
|
||||||
title="View this pull request on GitHub"
|
title="View this pull request on GitHub"
|
||||||
>${escapeSpecialCharacters(event.payload.pull_request.title)}</a></em> in
|
>${escapeSpecialCharacters(event.payload.pull_request.title)}</a></em> in
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
case "PullRequestReviewEvent":
|
||||||
|
return `
|
||||||
|
<strong><a
|
||||||
|
href="${generateUrl("actor", event)}"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="Visit ${event.actor.login}'s profile on GitHub"
|
||||||
|
>${event.actor.display_login}</a></strong> reviewed pull request
|
||||||
|
|
||||||
|
<em><a
|
||||||
|
href="${generateUrl("pull_request", event)}"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
target="_blank"
|
||||||
|
title="View this review on GitHub"
|
||||||
|
>${escapeSpecialCharacters(event.payload.pull_request.title)}</a></em> in
|
||||||
|
`;
|
||||||
|
|
||||||
case "PullRequestReviewCommentEvent":
|
case "PullRequestReviewCommentEvent":
|
||||||
return `
|
return `
|
||||||
|
|
Loading…
Reference in a new issue