mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
Merge pull request #675 from dmerrick/honoring-disable-errors
Making MULTI_STATUS honor DISABLE_ERRORS setting
This commit is contained in:
commit
a3fcb3ea7c
1 changed files with 6 additions and 0 deletions
|
@ -994,6 +994,12 @@ CallStatusAPI() {
|
||||||
# Check to see if were enabled for multi Status mesaages #
|
# Check to see if were enabled for multi Status mesaages #
|
||||||
##########################################################
|
##########################################################
|
||||||
if [ "${MULTI_STATUS}" == "true" ] && [ -n "${GITHUB_TOKEN}" ] && [ -n "${GITHUB_REPOSITORY}" ]; then
|
if [ "${MULTI_STATUS}" == "true" ] && [ -n "${GITHUB_TOKEN}" ] && [ -n "${GITHUB_REPOSITORY}" ]; then
|
||||||
|
|
||||||
|
# make sure we honor DISABLE_ERRORS
|
||||||
|
if [ "${DISABLE_ERRORS}" == "true" ]; then
|
||||||
|
STATUS="success"
|
||||||
|
fi
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
# Call the status API to create status check #
|
# Call the status API to create status check #
|
||||||
##############################################
|
##############################################
|
||||||
|
|
Loading…
Reference in a new issue