Skip to content

Commit

Permalink
#26: Check 'External Telegram Notifications'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgroup committed Jan 22, 2022
1 parent 3f4ea6e commit 201599f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ name: Telegram
# check here https://developer.github.com/webhooks/
on:
issue_comment:
types: created
types: [created]
issues:
types: [opened, edited, pinned, closed, reopened, assigned, labeled]
pull_request:
types: [opened, closed, edited, ready_for_review, review_requested, reopened]
pull_request_review_comment:
types: created
types: [created]
push:

jobs:
Expand All @@ -20,12 +20,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Notifier
uses: GokulDas027/TelegramBridge@master
if: always()
- name: Send notifications
id: send_notifications
uses: danilat/externalized-telegram-notifications-action@master
with:
chat: ${{ secrets.TELEGRAM_CHAT }}
to: ${{ secrets.TELEGRAM_ID_OR_CHANNEL }}
token: ${{ secrets.TELEGRAM_TOKEN }}
status: ${{ job.status }} # don't change
event: ${{ github.event_name }} # don't change
actor: ${{ github.actor }} # don't change
content-url: ${{ secrets.CONTENT_URL }}
parse_mode: html

0 comments on commit 201599f

Please sign in to comment.