mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-08 04:00:43 +09:00
- Container args were never wired up in action.yml (no runs.args), so the positional-argument branch could never fire
12 lines
275 B
Bash
Executable File
12 lines
275 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
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
|