schutzbot/update_github_status.sh: new verb: fail
New script subcommand that explicitly reports a failure.
This commit is contained in:
parent
57bba13752
commit
b0abe9725d
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,9 @@ elif [[ $1 == "update" ]]; then
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
elif [[ $1 == "fail" ]]; then
|
||||||
|
GITHUB_NEW_STATE="failure"
|
||||||
|
GITHUB_NEW_DESC="I'm sorry, something is odd about this commit."
|
||||||
else
|
else
|
||||||
echo "unknown command"
|
echo "unknown command"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue