diff --git a/wrapper.sh b/wrapper.sh index d2c0375..a275c3f 100755 --- a/wrapper.sh +++ b/wrapper.sh @@ -16,12 +16,6 @@ if [[ "$notify" == "error" && $EXIT_CODE -ne 0 ]]; then exit $EXIT_CODE fi -if echo "$OUTPUT" | grep -q '^SKIP:'; then - if [[ "$notify" == "error" || "$notify" == "success" ]]; then - exit 0 - fi -fi - if [[ "$notify" == "success" && $EXIT_CODE -eq 0 ]]; then SUBJECT="[Gitea Runner Build] Success" echo "$OUTPUT" | mail -s "$SUBJECT" "$email"