-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81baa4e
commit 96a2cf8
Showing
2 changed files
with
119 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
|
||
if [[ $SUCC_COMMAND == "0" ]]; | ||
then | ||
echo "Success" | ||
exit 0 | ||
elif [[ $SUCC_COMMAND == "1" ]]; | ||
then | ||
echo "Error creating pull request: Unprocessable Entity (HTTP 422)" | ||
echo "A pull request already exists for michalinacienciala:auto-update-api-docs-3." | ||
exit 1 | ||
else | ||
exit 2 | ||
fi |