mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-30 18:38:32 +01:00
29 lines
791 B
YAML
29 lines
791 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- closed
|
|
- opened
|
|
|
|
jobs:
|
|
notify:
|
|
runs-on: ubuntu
|
|
|
|
steps:
|
|
- name: Telegram Notify Channel
|
|
uses: actions/telegram-notifier@main
|
|
with:
|
|
api_url: ${{ secrets.TELEGRAM_API_URL }}
|
|
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
chat_id: ${{ secrets.TELEGRAM_CHANNEL_ID }}
|
|
status: ${{ job.status }}
|
|
notify_fields: "actor,repository"
|
|
- name: Telegram Notify Group
|
|
uses: actions/telegram-notifier@main
|
|
with:
|
|
api_url: ${{ secrets.TELEGRAM_API_URL }}
|
|
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
chat_id: ${{ secrets.TELEGRAM_GROUP_ID }}
|
|
status: ${{ job.status }}
|
|
notify_fields: "actor,repository" |