fix(entrypoint): remove dead args passthrough

- Container args were never wired up in action.yml (no runs.args), so
  the positional-argument branch could never fire
This commit is contained in:
Bo-Yi Wu
2026-08-16 10:33:52 +08:00
parent 16657635b3
commit e9e9d8fda7
-2
View File
@@ -4,8 +4,6 @@ set -eu
export GITHUB="true"
[ -n "$*" ] && export TELEGRAM_MESSAGE="$*"
# The runner exports every declared input as an env var even when unset,
# and drone-telegram rejects an empty string for this integer flag.
[ -z "${INPUT_MESSAGE_THREAD_ID:-}" ] && unset INPUT_MESSAGE_THREAD_ID