Skip to content

longtree/tele-status

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tele-status

Tele-status connects your GitHub Repo to Telegram about Repo Updates by a Bot you can create.

Create a chatbot with botfather bot in telegram. Get your chat id by speaking to jsondumpbot in telegram.

Since it is your repo and it should only be limited to you. Thats why you need to give your chat id to the bot. You can either give your personal chat id or a channel chat id and add the bot to it.

You can add these details to the Repository Secrets by going to <repo>/settings/secrets/

Notifications

  • You can use the simple notifier at the master branch or the release tag like
    - name: <WorkFlow Name>
      uses: kohchihao/tele-status@master
      if: always()
      with:
        chat: ${{ secrets.chat }}
        token: ${{ secrets.token }}
        status: ${{ job.status }}

The chat is the chat id/channel id and you can get that by talking to the json dump bot. The token is the bot's API token and you can create a bot by speaking to Botfather bot in Telegram.

Actions will only trigger on what you want to trigger. You might want to define all the triggers first. You can refer the workflow file of this repo for better guidance. or like this

name: Build and Notify
on:
  push:
  pull_request:
    types: [opened,closed]
  issues:
    types: [opened, closed, reopened]
  issue_comment:
    types: [created]
  watch:
    types: [started]

Credits

Forked and cloned from https://github.com/athul/telewire

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%