Skip to content

Bump rexml from 3.2.5 to 3.2.8 #114

Bump rexml from 3.2.5 to 3.2.8

Bump rexml from 3.2.5 to 3.2.8 #114

name: Send telegram notification
on:
pull_request:
types: [opened]
jobs:
send_telegram_notification:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Set up Python dependencies
run: |
python -m pip install --upgrade pip
pip install python-telegram-bot
- name: Send Telegram notification "Новый МР создан"
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
run: |
python Scripts/send_telegram.py "🎲 New pull request for Random Pro created! 🎲
Author: ${{ github.actor }}
Branch: ${{ github.head_ref }}
Pull Request URL: ${{ github.event.pull_request.html_url }}"