Skip to content

Wait for all statuses in a GitHub pull request to finish

License

Notifications You must be signed in to change notification settings

Crazybus/pratus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Wait for all statuses in a GitHub pull request to finish

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages