https://github.com/technance-foundation/github-action-telegram-notifications
:octocat: GitHub Action to send Telegram notifications on pull request events
https://github.com/technance-foundation/github-action-telegram-notifications
gh-actions github github-actions pull-requests telegram telegram-bot yml
Last synced: 3 months ago
JSON representation
:octocat: GitHub Action to send Telegram notifications on pull request events
- Host: GitHub
- URL: https://github.com/technance-foundation/github-action-telegram-notifications
- Owner: technance-foundation
- License: mit
- Created: 2024-06-16T03:35:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-09T13:37:23.000Z (about 1 year ago)
- Last Synced: 2025-06-15T07:48:12.570Z (about 1 year ago)
- Topics: gh-actions, github, github-actions, pull-requests, telegram, telegram-bot, yml
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Telegram Notifications GH Action
> [!WARNING]
>
> **DEPRECATION NOTICE**
>
> This action has moved to **[technance-foundation/github-actions](https://github.com/technance-foundation/github-actions)**:
>
> - Telegram Notifications: `technance-foundation/github-actions/.github/actions/telegram-notifications@main`
>
> The current repo will no longer receive updates.
## Overview
This GitHub action can be used in any repository to send notifications to a Telegram chat. The following pull request events will trigger a notification:
- Pull request approved
- Changes requested on a pull request
- Comment added to a pull request review
- Pull request opened (in draft or non-draft state)
- Pull request marked as ready for review
## Example
Create the workflow in the `.github/workflows` directory of a repository to use this action:
```yml
# telegram-notifications.yml
name: Telegram notifications
on:
pull_request:
types: [opened, ready_for_review]
pull_request_review:
types: [submitted]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Telegram Notify
uses: technance-foundation/github-action-telegram-notifications@main
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
```