Skip to content

Refactor Telegram notify workflow#2

Merged
bucksh0tdev merged 1 commit intomainfrom
dev
Apr 6, 2026
Merged

Refactor Telegram notify workflow#2
bucksh0tdev merged 1 commit intomainfrom
dev

Conversation

@bucksh0tdev
Copy link
Copy Markdown
Member

Add manual dispatch and refine triggers; avoid self-notification by comparing github.workflow, and filter workflow_run events for the "Trigger Web Sync" workflow. Replace brittle bash message assembly with a Python step that builds richer, safer messages for many event types (push, pull_request, issues, issue_comment, release, create, delete, workflow_run) and exposes the text via GITHUB_OUTPUT. Introduce explicit permissions and map TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_ID from secrets into env, add a step to skip when secrets are missing, and harden the send step with safer curl flags and conditional execution.

Add manual dispatch and refine triggers; avoid self-notification by comparing github.workflow, and filter workflow_run events for the "Trigger Web Sync" workflow. Replace brittle bash message assembly with a Python step that builds richer, safer messages for many event types (push, pull_request, issues, issue_comment, release, create, delete, workflow_run) and exposes the text via GITHUB_OUTPUT. Introduce explicit permissions and map TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_ID from secrets into env, add a step to skip when secrets are missing, and harden the send step with safer curl flags and conditional execution.
@bucksh0tdev bucksh0tdev merged commit 22b943c into main Apr 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant