Pulling shark do-do-do-do-do-do!
This project will help you boost Github achievements. There are two scripts:
pull-shark.py
- Creates an automated PR and merges it.issues.py
- Creates and answers an issue across 2 different GH accounts.
- Install python 3 and
pip
.- Note: I need to use
pip3
on the command line to install.
- Note: I need to use
- Create a github API token with read/write access.
- Create a python virtual environment.
$ python3 -m venv ./
- Install requirements.
$ pip3 install -r requirements.txt
- Add env variables to
~/.zshrc
.
export GITHUB_TOKEN="<GH TOKEN FOR ACCOUNT 1>"
export SECOND_GITHUB_TOKEN="<GH TOKEN FOR ACCOUNT 2>"
- Run scripts.
$ python3 pull-shark.py
$ python3 issues.py