create telegram.yml GitHub workflow action

This commit is contained in:
Nick Klockenga
2024-08-21 20:53:13 -04:00
committed by GitHub
parent cd3e0f3c2a
commit 53a121e68a
+18
View File
@@ -0,0 +1,18 @@
name: GitHub Notify on Telegram
on:
pull_request:
branches:
- dev
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Notify on Telegram
uses: EverythingSuckz/github-telegram-notify@main
with:
bot_token: '${{ secrets.BOT_TOKEN }}'
chat_id: '${{ secrets.CHAT_ID }}'