mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-22 15:26:43 +01:00
disable notifications for libbase update
This commit is contained in:
parent
b9de86635c
commit
af69ce04f1
1 changed files with 0 additions and 31 deletions
31
.github/workflows/make_and_send_alert.yml
vendored
31
.github/workflows/make_and_send_alert.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
name: Send alert to Telegram channel
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
make_and_send_alert:
|
||||
name: Send alert
|
||||
runs-on: macos-10.15
|
||||
|
||||
steps:
|
||||
|
||||
- name: Clone.
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Python.
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Install dependencies and send alert to Telegram channel.
|
||||
if: ${{ github.event.head_commit.author.name == 'GitHub Action' }}
|
||||
env:
|
||||
COMMIT_SHA: ${{ github.sha }}
|
||||
GITHUB_PAT: ${{ secrets.PAT_FOR_ALERTS }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
python make_and_send_alert.py
|
Loading…
Reference in a new issue