Skip to content

doctolib/prst

 
 

Repository files navigation

prst

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.

prst in action

Once all the checks passed, it will notify you and open the Pull Request in your browser.

Installation

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

Usage

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.

Options

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).

About

Pull Request Status Tracker. See your PR status live from your commandline, and get notified when all tests are done.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.2%
  • Shell 2.8%