Skip to content

Markdown escaping issue #58

Description

@rc5hack

This job step always fails:

    - name: Send telegram notification
      if: ${{always()}}
      uses: appleboy/telegram-action@master
      with:
        to: ${{secrets.TELEGRAM_CHAT}}
        token: ${{secrets.TELEGRAM_TOKEN}}
        format: markdown
        message: |
          Test *()

Job logs:

Run appleboy/telegram-action@master
  with:
    to: ***
    token: ***
    format: markdown
    message: Test *()
  
  env:
    ...
/usr/bin/docker run --name dc5057a2652147a674d62abf3a4930e7521c7_f86794 --label 0dc505 --workdir /github/workspace --rm -e ...
2023/10/22 18:39:40 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 5

Should I manually escape chars in message?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions