Skip to content
SakibpediaPublic

About

Track your open PRs, CI checks and bot reviews from the terminal

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

prwatch

CI Python License

Track your open pull requests, CI checks and bot reviews from the terminal.

Built from the actual problem of juggling PRs across OpenFGA, OpenSRE and pytest — where the bottleneck was not writing fixes but knowing which PR was green, which review was stale, and which bot score still needed work.

Requirements

The gh CLI must be installed and authenticated (gh auth status). prwatch shells out to gh, so it uses your existing credentials and needs no token handling of its own.

Install

pip install git+https://github.com/Sakibpedia/prwatch.git

Or from a checkout: pip install -e ".[dev]".

Usage

# One-off list
prwatch openfga/openfga Tracer-Cloud/opensre pytest-dev/pytest

# Include the latest Greptile confidence score from PR comments
prwatch Tracer-Cloud/opensre --reviews

# Machine-readable output, flag PRs untouched for over 3 days
prwatch --json --stale-days 3

# Use as a CI/check gate
prwatch --stale-days 7 --fail-on-stale

With no repo arguments, prwatch reads ~/.config/prwatch/repos.txt:

# repos I am watching
openfga/openfga
Tracer-Cloud/opensre
pytest-dev/pytest

Example table:

PR                          AGE   CHECKS  REVIEW  GREPTILE  TITLE
Tracer-Cloud/opensre#7159   0.0d  green   REVIEW  5/5       fix(integrations): malformed store records
openfga/openfga#3454        1.0d  green   REVIEW  -         refactor: remove dead schema 1.0 code paths

CHECKS is green only when every reported check completed with an acceptable conclusion; pending checks are shown as pending:N, and failures as RED.

Development

pip install -e ".[dev]"
python -m pytest
python -m ruff check src tests

Tests mock gh, so no network or authentication is required to run them.

MIT licensed. Built by S M Nazmuz Sakib.

About

Track your open PRs, CI checks and bot reviews from the terminal

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages