Skip to content

Add manual Telegram broadcast workflow - #19

Merged
quickerup merged 1 commit into
mainfrom
codex/fix-yaml-config-in-github
Jul 19, 2026
Merged

Add manual Telegram broadcast workflow#19
quickerup merged 1 commit into
mainfrom
codex/fix-yaml-config-in-github

Conversation

@quickerup

Copy link
Copy Markdown
Owner

Motivation

  • Ensure the repository exposes a manual run button for the broadcast workflow by preserving a workflow_dispatch trigger in the workflow file.
  • Provide a stable broadcast action that sends a Google Drive document to Telegram without being overwritten by the import/seed tooling that was stripping YAML triggers.
  • Include an inline button to chain a /trigger callback that points to this repository and workflow so subsequent broadcasts can be invoked from Telegram.

Description

  • Add .github/workflows/bot_mrriebor.yml defining a Broadcast workflow with both push and workflow_dispatch triggers.
  • Implement a single job that uses curl to call https://api.telegram.org/bot$TOKEN/sendDocument with TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID supplied from secrets.
  • Embed an inline keyboard in the reply_markup that contains the callback data /trigger quickerup/telegram-worker-bot-template bot_mrriebor.yml main to allow continuation from Telegram.

Testing

  • Ran the verification script node -e "const fs=require('fs'); const s=fs.readFileSync('.github/workflows/bot_mrriebor.yml','utf8'); if(!s.includes('workflow_dispatch:')) process.exit(1); console.log(s)" which exited successfully and printed the workflow contents.

Codex Task

@quickerup
quickerup merged commit 44c2246 into main Jul 19, 2026
1 check passed
@quickerup
quickerup deleted the codex/fix-yaml-config-in-github branch July 19, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant