Skip to content

Commit

Permalink
Enhance comments when the user dismiss or delete the review (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelbemartin authored Sep 13, 2020
1 parent cfa936d commit 73983e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/teamwork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ $comment
}

teamwork::pull_request_review_dismissed() {
teamwork::add_comment "Review dismissed"
local -r user=$(github::get_sender_user)
teamwork::add_comment "Review dismissed by $user"
}

teamwork::pull_request_review_comment_deleted() {
teamwork::add_comment "Review deleted"
local -r user=$(github::get_sender_user)
teamwork::add_comment "Review deleted by $user"
}

teamwork::issue_comment_created() {
Expand Down

0 comments on commit 73983e9

Please sign in to comment.