mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-30 17:59:55 +03:00
Delete scrape-tdesktop-api-scheme.yml
This commit is contained in:
parent
396ccd3d4f
commit
c9340c1ee2
34
.github/workflows/scrape-tdesktop-api-scheme.yml
vendored
34
.github/workflows/scrape-tdesktop-api-scheme.yml
vendored
|
@ -1,34 +0,0 @@
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 12 * * *' # Every day at 12:00 (noon). Ref https://crontab.guru/examples.html
|
|
||||||
name: Scrape telegram bot API
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Scrape
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: '3.8'
|
|
||||||
|
|
||||||
- name: Scrape website
|
|
||||||
run: sudo apt-get install wget && wget -c "https://github.com/telegramdesktop/tdesktop/raw/dev/Telegram/Resources/tl/api.tl" -O "telethon_generator/data/api.tl"
|
|
||||||
|
|
||||||
- name: Open Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v3.5.2
|
|
||||||
with:
|
|
||||||
commit-message: >
|
|
||||||
Regenerate API.tl
|
|
||||||
title: >
|
|
||||||
Update API.tl based on the latest changes from tdesktop
|
|
||||||
body: >
|
|
||||||
This is an automated PR. Please check the diff, and the action logs, to check for any funky behaviour.
|
|
||||||
branch: automated/bot-api-update
|
|
||||||
labels: automated
|
|
||||||
delete-branch: true
|
|
Loading…
Reference in New Issue
Block a user