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
|
||||
exit 0
|
||||
fi
|
||||
elif [[ $1 == "fail" ]]; then
|
||||
GITHUB_NEW_STATE="failure"
|
||||
GITHUB_NEW_DESC="I'm sorry, something is odd about this commit."
|
||||
else
|
||||
echo "unknown command"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue