Easier Google Maps navigation #16
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: Telegram Notifications | |
on: | |
issues: | |
types: [opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
send_notification: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Telegram Notification | |
if: ${{ github.event_name == 'issues' }} | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
format: html | |
disable_web_page_preview: true | |
message: | | |
🚨 New GitHub Issue 🚨 | |
<b>Issue URL:</b> ${{ github.event.issue.html_url }} | |
<b>${{ github.actor }}</b> created a new issue. | |
<b>Issue Title:</b> ${{ github.event.issue.title }} | |
<blockquote>${{ github.event.issue.body }}</blockquote> | |
- name: Send Telegram Notification | |
if: ${{ github.event_name == 'issue_comment' }} | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
format: html | |
disable_web_page_preview: true | |
message: | | |
📝 New Comment on GitHub Issue 📝 | |
<b>Comment URL:</b> ${{ github.event.comment.html_url }} | |
<b>Issue Title:</b> ${{ github.event.issue.title }} | |
<b>Issue URL:</b> ${{ github.event.issue.html_url }} | |
<b>${{ github.actor }}</b> commented: | |
<blockquote>${{ github.event.comment.body }}</blockquote> | |