Skip to content

Commit 8208da4

Browse files
committed
improve error message if no input is found
1 parent 9e60c0c commit 8208da4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ else
1313
if [ -n "$GITHUB_REPOSITORY" ]; then
1414
CMD="$CMD --input https://github.com/$GITHUB_REPOSITORY"
1515
else # if github repository url is not existing then return error
16-
echo "Error: The 'input' argument is required."
16+
echo "Error: The 'input' argument is required and $GITHUB_REPOSITORY environment variable is not set. Please provide an input or run this action within a GitHub repository context."
1717
exit 1
1818
fi
1919
fi

0 commit comments

Comments
 (0)