Skip to content

themakers/telegram-action

Repository files navigation

Create a JavaScript Action

Fully functional example action:

name: notify organization telegram
on: [push, pull_request, create, issues, issue_comment, watch]
jobs:
  notify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: themakers/telegram-action@master
        with:
          token: ${{ secrets.TELEGRAM_TOKEN }} # your bot token
          to: ${{ secrets.TELEGRAM_TO }} # your room id

To obtain your telegram room ID you could use this command:

curl https://api.telegram.org/bot${TELEGRAM_TOKEN}/getUpdates | python -m json.tool

TODO

  • TODO: Allow comma-separated list of rooms in secrets.TELEGRAM_TO

TODO

javscript-action status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published