Skip to content

Pull Request Telegram

Actions
Sends a message to a Telegram channel when a pull request is opened or pull request review is requested
v1.0.0
Latest
Star (4)

Telegram Pull Request Notifcation


A simple Github action that sends a Telegram message when:

  1. Pull request open
  2. Pull request review requested

Usage

To use this action you need setup your workflow to trigger on pull request events with the following types.

  1. opened
  2. review_requested

Example

on:
  pull_request:
    types: [opened, review_requested]

You can include this action in your workflow as follow
- name: Pull Request Telegram
  uses: F2had/[email protected]
  with: 
    bot_token: '${{ secrets.BotToken }}' # Your bot token from github secrets
    chat_id: '${{ secrets.CHATID }}' # Your chat id from github secrets

Github Secrets: To add your bot toekn and chat id as a github secret you can refer to Github docs.

Bot Token: To get a bot token you need to use BotFather on Telegram or refer to this on how to create a bot.

Chat ID: You may use this RawDataBot to get the chat id the for a group or a channel.


Full workflow example.

workflow-example.yml.


Action output:

  1. Pull Request Open

image

  1. Review Request

image


Notes

When a review is requested this action will run for every reviewer.

Pull Request Telegram is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sends a message to a Telegram channel when a pull request is opened or pull request review is requested
v1.0.0
Latest

Pull Request Telegram is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.