Skip to content

Merge pull request #70 from JahongirHakimjonov/jahongir #212

Merge pull request #70 from JahongirHakimjonov/jahongir

Merge pull request #70 from JahongirHakimjonov/jahongir #212

Workflow file for this run

name: Telegram Notifications
on:
pull_request:
types:
[opened, closed, edited, ready_for_review, review_requested, reopened]
pull_request_review_comment:
types: [created]
push:
branches:
- main
- dev
jobs:
notify:
name: Telegram Notification
runs-on: ubuntu-latest
steps:
- name: Send Notification to Telegram
uses: ethyaan/tgate-action@v1.0.0 # Ensure you're using a stable and tested version
if: always() # Ensures the notification runs regardless of job status
with:
token: ${{ secrets.TOKEN }}
to: ${{ secrets.CHAT_ID }}
disable_web_page_preview: true # Prevent previews for shared links
disable_notification: false # Sends notification with sound
status: ${{ job.status }}
event: ${{ github.event_name }}
actor: ${{ github.actor }}
repository: ${{ github.repository }}
workflow: ${{ github.workflow }}