Error throwing instead of return leads to compile error #216
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment | |
on: | |
issue_comment: | |
types: [created] | |
pull_request_review_comment: | |
types: [created] | |
jobs: | |
build: | |
name: Telegram | |
runs-on: ubuntu-latest | |
if: ${{ github.event.issue.pull_request }} | |
steps: | |
- name: Send telegram message on push | |
uses: appleboy/[email protected] | |
with: | |
to: ${{ secrets.TELEGRAM_ISSUE_CHAT_ID }} | |
token: ${{ secrets.TELEGRAM_ISSUE_TOKEN }} | |
format: Markdown | |
# this might go wrong, because `title` and `body` can have arbitrary markdown | |
message: | | |
✏️ [${{ github.event.comment.user.login }}](${{ github.event.comment.html_url }}): ${{ github.event.comment.body }} | |
🔀 ${{ github.event.issue.title }} |