Giter Club home page Giter Club logo

telegrambridge's People

Contributors

ashpool37 avatar gokuldas027 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

telegrambridge's Issues

Getting this error - Unrecognised Secrets

##[error](Line: 7, Col: 14): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.chat
##[error](Line: 10, Col: 14): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.token
##[error]Fail to load /home/runner/work/_actions/GokulDas027/TelegramBridge/master/action.yml

Error trying sending messages

Hi guys,

When I try to send a message I get this error:

2020/10/03 16:49:57 unable to send message: Bad Request: can't parse entities: Character '.' is reserved and must be escaped with the preceding ''

This is my job config:

notifier:
    if: always()

    needs:
      - linter
      - tests
    runs-on: ubuntu-latest

    steps:
      - name: Telegram notifier
        uses: GokulDas027/TelegramBridge@master
        with:
          chat: ${{ secrets.TELEGRAM_CHAT_ID }}
          token: ${{ secrets.TELEGRAM_TOKEN }}
          status: ${{ job.status }}
          event: ${{ github.event_name }}
          actor: ${{ github.actor }}

What could be happening?
I have tested the bot with other actions and it works perfectly.

Thanks!

Unable to send message: unescaped dash

I'm getting this error message when running Notifier:
unable to send message: Bad Request: can't parse entities: Character '-' is reserved and must be escaped with the preceding '\'
I suspect this is due to our organization name containing dashes. Please make sure dash symbols in organization and repository names are escaped.

Message syntax/format and other improvements

Hi, I just discovered this action. This is (to my knowledge) the action that reacts to the most (range of) github action event triggers.

So I started using it in some of my projects.

This issue is a suggestion to add more information to the sent messages, for example the branch name and the pushed changes url, as well as to improve the syntax (a prettier message would be nice).

A good inspiration could be t.me/GitHubBot.

If you don't have time to do it, I'll consider forking this and work on it myself, but I'm busy in this period.

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.