Skip to content

Commit

Permalink
Updated check to only apply when changes are requested
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonOldenhof committed Feb 27, 2023
1 parent d0d8f0f commit 3765471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/teamwork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ teamwork::pull_request_review_submitted() {
local -r comment=$(github::get_review_comment)

# Only add a message if the PR has been approved
if [ "$review_state" != "approved" ]; then
if [ "$review_state" == "changes_requested" ]; then
teamwork::move_task_to_column "$BOARD_COLUMN_FEEDBACK"
teamwork::add_comment "
**$user** requested changes to the PR: **$pr_title**
Expand Down

0 comments on commit 3765471

Please sign in to comment.