GithubHelp home page GithubHelp logo

tele-status's Introduction

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

tele-status's People

Contributors

kohchihao avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

longtree

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.