Skip to content
Wait for all statuses in a GitHub pull request to finish
Go
Branch: master
Clone or download
Crazybus Only check GITHUB_TOKEN once (#5)
Only check GITHUB_TOKEN once
Latest commit ef393cc Aug 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Hardcode the path to the go binary Dec 28, 2018
.travis.yml Update release token for travis Dec 31, 2018
LICENSE
README.md Initial commit Dec 28, 2018
pratus.go Only check GITHUB_TOKEN once Aug 1, 2019
pratus_test.go Initial commit Dec 28, 2018

README.md

Pratus

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.

Usage

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

Configuration

  • The sleep duration can be changed by setting PRATUS_SLEEP_TIMER to the amount of seconds (default 60)
You can’t perform that action at this time.