How to see GitHub reviews and CI from your Mac's notch
Pull requests waiting for your review and your own pull requests with check status, one hover away, with a confirming click to approve.
On this page
"Is CI green yet?" and "Who's waiting on my review?" are two questions developers ask all day. OneNotch answers both from the notch.
Set it up
OneNotch uses the official GitHub command-line tool, so it never stores a GitHub token. In Terminal:
brew install gh && gh auth login
Then open the GitHub screen. OneNotch finds gh wherever Homebrew, MacPorts or Nix put it, and picks it up straight away, with no restart. You can turn GitHub off or on in Settings → Accounts.
What you see
| Section | What's in it |
|---|---|
| To review | Open pull requests that request your review |
| Your PRs | Open pull requests you authored |
| Checks | "12 checks · 1 failing", from the latest commit. Click it (or press C) to see every check by name, failing first, with how long it took and a link to its log |
| Approvals | How many people have approved, and whether changes were requested |
Each pull request shows its repository, number, author and when it last changed, so you can see what's fresh at a glance. Press / to search by title, repository, author or number.
Approving
Hover a pull request waiting for you (or select it with J and K) and two buttons appear: Review opens its changes on GitHub, and Approve approves it from the notch with a confirming click: the first click arms the button, the second sends the approval. From the keyboard, press A twice. It's sent once and never retried, so nothing is approved twice by accident. If GitHub refuses it, the notch tells you why.
How fresh is it?
OneNotch refreshes every two minutes, and again when you open the notch if it's been more than 30 seconds.
FAQs
Why the GitHub CLI instead of a token?
So OneNotch doesn't keep a GitHub token at all. It asks gh, which you've already signed in to.
I don't see some repositories.
If you signed in to gh with a fine-grained token, OneNotch only sees the repositories that token was granted.
Can I leave review comments?
Not from the notch. Open the pull request in your browser for line comments.