commit
36d4bf3436
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ fi
|
|||
# Get the GraphQL ID
|
||||
PR_ID=$(echo $RESULT | sed 's/.*"id":"\([^"]*\)".*/\1/')
|
||||
|
||||
# TODO: Have another user do the commenting
|
||||
if [[ $RESULT == *"werthen"* ]]; then
|
||||
if [[ $RESULT == *"zeuswpi-bot"* ]]; then
|
||||
echo "User has already commented"
|
||||
else
|
||||
ADD_COMMENT_STR="mutation{addComment(input:{subjectId:\\\"$PR_ID\\\",body:\\\"Check out the preview on https://$PR_NR.pr.zeus.gent/\\\"}){clientMutationId}}"
|
||||
|
|
Loading…
Reference in a new issue