deleted unused telegram message action

This commit is contained in:
2026-07-04 19:11:53 +03:00
parent 953d677f16
commit d7e91190cb
@@ -1,29 +0,0 @@
name: '🧼 Telegram message escape'
description: 'Automatically escapes dots, dashes, and exclamation marks for Telegram MarkdownV2'
inputs:
message:
description: 'The raw text string to escape'
required: true
outputs:
escaped_message:
description: 'The safely escaped string ready for Telegram'
value: ${{ steps.escape.outputs.result }}
runs:
using: 'composite'
steps:
- id: escape
shell: bash
env:
RAW_MESSAGE: ${{ inputs.message }}
run: |
MSG="$RAW_MESSAGE"
MSG="${MSG//-/\\-}"
MSG="${MSG//./\\.}"
MSG="${MSG//!/\\!}"
echo "result<<EOF" >> $GITHUB_OUTPUT
echo "$MSG" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT