This is a python based reporter that gets pull request data from github and sends an email summary of a repos pull requests.
In order to run this script you must install the required packages
- Python version 3.8.x
- Pip version 20.0.x
- SendGrid Free Account and API Key
Run the following commands to install the required modules to run this script.
- Run below commands
#Install Pylint
pip install pylint
# Setup virtualenv (optional)
pip install virtualenv
python3 -m venv env
source env/bin/activate
# Install required modules
pip install -r requirements.txt- Rename file
.env.exampleto.env- Add appropriate api keys and default email address to the file.
python3 pull_request_reporter.py --repository <your-repo-here> --email <your-email-address> --daysago 7Deactivate your python environment
deactivate