Merge pull request #590 from github/FixBug

fix logic hole
This commit is contained in:
Lukas Gravley 2020-08-19 15:16:05 -05:00 committed by GitHub
commit 70e513426b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1004,7 +1004,7 @@ CallStatusAPI() {
##########################################################
# Check to see if were enabled for multi Status mesaages #
##########################################################
if [ "${MULTI_STATUS}" == "true" ]; then
if [ "${MULTI_STATUS}" == "true" ] && [ -n "${GITHUB_TOKEN}" ] && [ -n "${GITHUB_REPOSITORY}" ]; then
##############################################
# Call the status API to create status check #
##############################################