Changed bot user

This commit is contained in:
redfast00 2019-03-08 02:46:06 +01:00
parent 1c56e8b59c
commit 9c4c2556f2
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

View file

@ -19,7 +19,7 @@ fi
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}}"