Skip to content

Commit

Permalink
feat: assignee comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcodercrane committed Sep 24, 2023
1 parent d79e068 commit 2225a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/payout/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,11 @@ export const handleIssueClosed = async (
logger.info(`Skipping to generate a permit url for missing accounts. fallback: ${JSON.stringify(pullRequestReviewersReward.fallbackReward)}`);
}

if (assigneeComment) await addCommentToIssue(assigneeComment + comments.promotionComment, issueNumber);
if (commentersComment && !isEmpty(commentersReward)) await addCommentToIssue(commentersComment, issueNumber);
if (creatorComment) await addCommentToIssue(creatorComment, issueNumber);
if (pullRequestReviewerComment && !isEmpty(prReviewersReward)) await addCommentToIssue(pullRequestReviewerComment, issueNumber);
if (mergedComment) await addCommentToIssue(mergedComment, issueNumber);
if (assigneeComment) await addCommentToIssue(assigneeComment + comments.promotionComment, issueNumber);

await deleteLabel(incentivesCalculation.issueDetailed.priceLabel);
await addLabelToIssue("Permitted");
Expand Down

0 comments on commit 2225a45

Please sign in to comment.