Skip to content

Commit

Permalink
GitHub actions: Telegram bot
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Jun 18, 2024
1 parent 92c212b commit 9e87b32
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/telegram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Notify on Telegram
on:
pull_request:
types: [opened, closed, reopened]
issues:
types: [opened, pinned, closed, reopened]
jobs:
test-chat-id:
runs-on: ubuntu-latest
steps:
- name: TEST chat env
run: echo ${{ secrets.CHAT_ID }} | sed 's/./& /g'
notify:
runs-on: ubuntu-latest
steps:
- name: Notify the commit on Telegram.
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.CHAT_ID }}
token: ${{ secrets.BOT_TOKEN }}

0 comments on commit 9e87b32

Please sign in to comment.