echo "Pull request created on github please inform the code reviewer by mentioning them in the comments"
if [ "$GITHUB_REQUEST" -gt 300 ]
# if [ "$GITHUB_REQUEST" -gt 300 ]
then
# then
echo "Failed to create pull request"
# echo "Failed to create pull request"
else
# else
echo "Pull request created succesfully"
# fi
fi
fi
fi
...
@@ -541,14 +539,16 @@ cmd_review() {
...
@@ -541,14 +539,16 @@ cmd_review() {
"body":"'"$USER_NAME"' is asking for code review. Total time taken:'"$FINALTIME"' expected time was '"$TIME_EXPECTED"' hour(s), Time spent on breaks was '"$TOTAL_TIME_OFF"' -- message by gitflow"
"body":"'"$USER_NAME"' is asking for code review. Total time taken:'"$FINALTIME"' expected time was '"$TIME_EXPECTED"' hour(s), Time spent on breaks was '"$TOTAL_TIME_OFF"' -- message by gitflow"