From 521a8b7db616cd8d59e779090fc469e17dcb7dac Mon Sep 17 00:00:00 2001 From: Celestine Kao Date: Mon, 1 Jun 2020 18:48:54 -0500 Subject: [PATCH] Don't block if no Slack user found (#4) --- src/commands/slack-pr-author.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/slack-pr-author.yml b/src/commands/slack-pr-author.yml index b9fe28e..061a9e3 100644 --- a/src/commands/slack-pr-author.yml +++ b/src/commands/slack-pr-author.yml @@ -67,7 +67,8 @@ steps: if [[ $SLACK_USER_ID == "null" ]]; then echo "No Slack user found with email $PR_AUTHOR_EMAIL" - exit 1 + # Don't fail the command. This shouldn't be a blocker. + exit 0 fi MESSAGE="*<< parameters.message >>*"