Stay organized and on top of Github pull requests. Simplify your workflow, never forget a PR. For devs, PMs, and more.
Before you can use this script, you'll need the following:
- Python >= 3.9 installed on your system.
- A Telegram bot created using BotFather on the Telegram platform.
- The API token of your Telegram bot.
- The chat ID of the user or group where you want to send messages.
-
Clone this repository to your local machine:
git clone https://github.com/muhammad-asn/github-pr-reminder.git
-
Change into the project directory:
cd github-pr-reminder
-
Install the required Python libraries using pip:
pip install -r requirements.txt
-
Set
.env
valueexport GITHUB_TOKEN='g_XXXXX' export TELEGRAM_BOT_TOKEN='1xxxx:XXXX' export TELEGRAM_CHAT_ID='-10XXXXXX'
-
Adjust the
config.yaml
valuekind: GithubPullRequestsReminder repos: - muhammad-asn/efk-nginx - muhammad-asn/terraform-provider-idcloudhost-s3 days_range: 180 #default 7 days
-
Run the script to send a message to your Telegram bot:
python send_message.py
-
Check your Telegram chat to see the message from the bot.
If you'd like to contribute to this project, please fork the repository and submit a pull request.