Waits for all statuses to have finished on a GitHub pull request. It can be combined with a notification tool like noti to send you a notification once a pull request has finished testing.
Set GITHUB_TOKEN
to your personal GitHub token
$ export GITHUB_TOKEN=234oi2j3423j4io2342o34
Run pratus with the URL to the pull request
$ pratus https://github.com/Crazybus/pratus/pulls/1
Checking status of pull request 1 in Crazybus/pratus every 60 seconds
......
PR finished with state: success
- The sleep duration can be changed by setting
PRATUS_SLEEP_TIMER
to the amount of seconds (default60
)