Skip to content

slack bot that reminds to review Bibucket pull requests

Notifications You must be signed in to change notification settings

ypogorelova/pr_slack_reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script fetches opened pull requests from BitBucket repository, checks if they are not approved yet and title of a PR doesn't include some 'ignore' words and finally sends reminder to reviewers into slack channel. Required credentials for bitbucket, slack and words say that PR should be ignored (optional) in .env file.

Run Script

To run script you need to have Python 3 installed. Then do the following:

  • pip install -r requirements.txt
  • Copy .env-sample to .env (it's git-ignored) and fill values for keys in .env
  • Run scripts python <script name>

As slack-pr-reminder only runs once and exits, it's recommended to run it regularly using for example a cronjob.

Example that runs slack-pr-reminder every day at 10:00:

0 10 * * * slack-pr-reminder

About

slack bot that reminds to review Bibucket pull requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages