Fix memes language #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 created! 🚀 | |
Author: ${{ github.actor }} | |
Branch: ${{ github.head_ref }} | |
Pull Request URL: ${{ github.event.pull_request.html_url }}" |