We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62b1aea + 9831179 commit 3120753Copy full SHA for 3120753
1 file changed
src/teamwork.sh
@@ -203,7 +203,7 @@ teamwork::pull_request_review_submitted() {
203
---
204
205
Review: **$review_state ✅**"
206
-if [ -z "$comment" ]; then
+if [ -n "$comment" ]; then
207
teamwork::add_comment "Comment: $comment"
208
fi
209
teamwork::add_tag "PR Approved"
@@ -219,7 +219,7 @@ fi
219
220
221
Review: **$review_state 😔**"
222
223
224
225
@@ -232,7 +232,7 @@ fi
232
teamwork::pull_request_review_dismissed() {
233
local -r user=$(github::get_sender_user)
234
teamwork::add_comment "Review dismissed by $user"
235
- if [ -z "$comment" ]; then
+ if [ -n "$comment" ]; then
236
237
238
teamwork::remove_tag "PR Open"
0 commit comments