Skip to content

Commit 73983e9

Browse files
Enhance comments when the user dismiss or delete the review (#14)
1 parent cfa936d commit 73983e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/teamwork.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,13 @@ $comment
7474
}
7575

7676
teamwork::pull_request_review_dismissed() {
77-
teamwork::add_comment "Review dismissed"
77+
local -r user=$(github::get_sender_user)
78+
teamwork::add_comment "Review dismissed by $user"
7879
}
7980

8081
teamwork::pull_request_review_comment_deleted() {
81-
teamwork::add_comment "Review deleted"
82+
local -r user=$(github::get_sender_user)
83+
teamwork::add_comment "Review deleted by $user"
8284
}
8385

8486
teamwork::issue_comment_created() {

0 commit comments

Comments
 (0)