mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-04 18:20:43 +09:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user