Skip to content

Latest commit

 

History

History
39 lines (39 loc) · 808 Bytes

README.md

File metadata and controls

39 lines (39 loc) · 808 Bytes

Github repo watcher

License

MIT License.

Status

A working skeleton missing actual API calls.

Usage

Sensitive settings

Edit .secrets.yaml in the project root folder.

default:
  github:
    user: GITHUB_USER
    token: GITHUB_TOKEN

Alternatively, you can set shell variables GITHUBWATCHER_GITHUB__USER and GITHUBWATCHER_GITHUB__TOKEN before running the script.

Installing

In a directory one level above the project:

python -m venv .
. bin/activate
cd github-watcher
pip install -r requirements.txt

Docker

docker build -t YOUR_NAME/github-watcher --network host  .

Upgrading requirements

pip-compile --upgrade

Running tests

./test.sh

Running

GITHUBWATCHER_GITHUB__REPO='repo_of_interest' ./main.py