Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mutexbot/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ runs:
rm response.json
elif [ "$RESPONSE" -eq 208 ]; then
handle_error "Resource not reserved. Aborting."
elif [ "$RESPONSE" -eq 401 ]; then
handle_error "Unauthorized! Check your API keys."
elif [ "$RESPONSE" -eq 404 ]; then
handle_error "Resource not found."
elif [ "$RESPONSE" -eq 409 ]; then
Expand Down
2 changes: 2 additions & 0 deletions mutexbot/reserve/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ runs:
sleep 5 # Wait before retrying
elif [ "$RESPONSE" -eq 400 ]; then
handle_error "Bad request. Check your input data."
elif [ "$RESPONSE" -eq 401 ]; then
handle_error "Unauthorized! Check your API keys."
elif [ "$RESPONSE" -eq 404 ]; then
handle_error "Resource not found."
else
Expand Down