mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-03 01:30:44 +09:00
fix(entrypoint): drop empty thread id workaround
- drone-telegram 1.5.1 handles empty INPUT_MESSAGE_THREAD_ID itself
This commit is contained in:
@@ -4,8 +4,4 @@ set -eu
|
|||||||
|
|
||||||
export GITHUB="true"
|
export GITHUB="true"
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
/bin/drone-telegram
|
/bin/drone-telegram
|
||||||
|
|||||||
Reference in New Issue
Block a user