prst
is a Pull Request Status Tracker. Run it in on your
branch and it will display live all the status checks of the relevant pull
request.
Once all the checks passed, it will notify you and open the Pull Request in your browser.
Install globally through yarn:
yarn global add prst
You also need a GITHUB_TOKEN
environment variable with a valid personal access
token. You can create one on https://github.com/settings/tokens.
If your organization has SSO enabled, you'll need to sign your token by
clicking on the Enable SSO
button
Simply run prst
from your git repo and it will automatically look for a Pull
Request coming from your current branch and display the relevant status check.
It will check for status update regularly and once the build is over, will notify you through your OS notification system and open the Pull Request in your browser.
By default the process will run until all the checks are completed, but you can
pass the --once
flag to only run it once.
Status are polled every 5mn by default, but you can pass the --interval
flag
to define your own custom interval delay (in seconds).