Skip to content

Update README.md

Update README.md #76

name: GitHub Notifications
on:
push:
branches:
- main
pull_request:
types: [opened, closed]
issues:
types: [opened, closed, reopened]
issue_comment:
types: [created]
watch:
types: [started]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Send notification via Telegram
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
message: |
Event: ${{ github.event_name }}
Repository: ${{ github.repository }}
Actor: ${{ github.actor }}
permissions:
contents: read
issues: read
packages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}