diff --git a/entrypoint.sh b/entrypoint.sh index 9bf3c3a..de1bcc9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,8 +3,8 @@ set -euo pipefail if [[ $GITHUB_REF != "refs/tags/"* ]]; then - echo "::warning::Skipping: This should only run on tags push or on release."; - exit 0; + echo "::error::This should only run on tags push or on release."; + exit 1; fi GITHUB_HOST=${GITHUB_SERVER_URL#https://}