mirror of
https://github.com/Gloridust/WechatOnCloud.git
synced 2026-06-16 19:53:53 +08:00
ci(telegram): render release/issue notes as Telegram HTML (not raw markdown)
GitHub-Flavored Markdown ≠ Telegram MarkdownV2, so the old plain-text send showed literal ## ** | etc. New .github/scripts/tg-notify.mjs converts GFM → Telegram-safe HTML (<b>/<i>/<code>/<pre>/<a>; headers→bold, tables→· rows, lists→•, quotes→▎), escapes <>&, and falls back to plain text if Telegram rejects the HTML. Adds workflow_dispatch to telegram-notify so you can send the latest release rendered for testing without cutting a new release. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
54ed841a68
commit
8ac0016398
Binary file not shown.
Reference in New Issue
Block a user