Skip to content

Commit 521a8b7

Browse files
authored
Don't block if no Slack user found (#4)
1 parent b54e423 commit 521a8b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/slack-pr-author.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ steps:
6767
6868
if [[ $SLACK_USER_ID == "null" ]]; then
6969
echo "No Slack user found with email $PR_AUTHOR_EMAIL"
70-
exit 1
70+
# Don't fail the command. This shouldn't be a blocker.
71+
exit 0
7172
fi
7273
7374
MESSAGE="*<< parameters.message >>*"

0 commit comments

Comments
 (0)