Skip to content

Scrape telegram bot API #1276

Scrape telegram bot API

Scrape telegram bot API #1276

Workflow file for this run

on:
workflow_dispatch: {} # Allow manually kicking off builds
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@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: >
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
- name: Scrape website
run: python scrape.py
- name: Open Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: >
Regenerate bot API docs.
title: >
Update bot API docs based on the latest changes
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
reviewers: PaulSonOfLars
assignees: PaulSonOfLars
labels: automated
delete-branch: true