Skip to content

Create main.yml

Create main.yml #8

Workflow file for this run

name: Github Telegram Notifier
on:
push:
branches:
- '**' # Triggers on any branch
pull_request:
branches:
- '**' # Triggers on any branch
issues:
types: [opened, edited, deleted]
issue_comment:
types: [created, edited, deleted]
pull_request_review:
types: [submitted, edited, dismissed]
pull_request_review_comment:
types: [created, edited, deleted]
create: # Triggers when a branch or tag is created
delete: # Triggers when a branch or tag is deleted
release:
types: [published, edited, deleted]
fork: # Triggers when the repository is forked
watch: # Triggers when someone stars the repository
workflow_dispatch: # Allows manual trigger from GitHub Actions UI
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification
uses: EverythingSuckz/[email protected]
with:
bot_token: ${{ secrets.TG_BOT_TOKEN }}
chat_id: ${{ secrets.TG_CHAT_ID }}