mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
Github actions - notify maintainers about changed examples (#1555)
This commit is contained in:
parent
ac64027580
commit
264de2b7c1
2 changed files with 16 additions and 2 deletions
14
.github/workflows/example_notifier.yml
vendored
Normal file
14
.github/workflows/example_notifier.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: Warning maintainers
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths: examples/**
|
||||||
|
jobs:
|
||||||
|
job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: about example change
|
||||||
|
steps:
|
||||||
|
- name: running the check
|
||||||
|
uses: Poolitzer/notifier-action@master
|
||||||
|
with:
|
||||||
|
notify-message: Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :)
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -1,6 +1,6 @@
|
||||||
# Examples
|
# Examples
|
||||||
|
|
||||||
In this folder there are small examples to show what a bot written with `python-telegram-bot` looks like. Some bots focus on one specific aspect of the Telegram Bot API while others focus on one of the mechanics of this library. Except for the [`echobot.py`](#pure-api) example, they all use the high-level framework this library provides with the [`telegram.ext`](https://python-telegram-bot.readthedocs.io/en/latest/telegram.ext.html) submodule.
|
In this folder are small examples to show what a bot written with `python-telegram-bot` looks like. Some bots focus on one specific aspect of the Telegram Bot API while others focus on one of the mechanics of this library. Except for the [`echobot.py`](#pure-api) example, they all use the high-level framework this library provides with the [`telegram.ext`](https://python-telegram-bot.readthedocs.io/en/latest/telegram.ext.html) submodule.
|
||||||
|
|
||||||
All examples are licensed under the [CC0 License](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/LICENSE.txt) and are therefore fully dedicated to the public domain. You can use them as the base for your own bots without worrying about copyrights.
|
All examples are licensed under the [CC0 License](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/LICENSE.txt) and are therefore fully dedicated to the public domain. You can use them as the base for your own bots without worrying about copyrights.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue