Notifies you when your build is removed from GitHub’s Merge Queue.
Note
Currently works only on macOS.
You need two things:
npxwhich you can get with Node.jsgh(GitHub CLI) and you must be logged in- Install and auth: https://cli.github.com/ then run
gh auth status
- Install and auth: https://cli.github.com/ then run
Run:
npx zx https://gist.githubusercontent.com/gpx/fff71c27a9975c56ad594f35eb1a6666/raw/qn.mjs org name prOk, that's long, so mabye create an alias:
alias qn='npx zx https://gist.githubusercontent.com/gpx/fff71c27a9975c56ad594f35eb1a6666/raw/qn.mjs'
qn org name prMake it permanent by adding the alias to your shell profile (e.g. ~/.zshrc or ~/.bashrc).
org/name/pr is your GitHub organization, repository, and pull request number. Example:
qn acme-inc better-db 123If you work often with an organization or a repository you can create more aliases:
alias qn='npx zx https://gist.githubusercontent.com/gpx/fff71c27a9975c56ad594f35eb1a6666/raw/qn.mjs'
alias qn-acme='qn acme'
alias qn-bdb='qn-acme better-db'
qn-acme foo 2 # Will check PR 2 for acme/foo
qn-bdb 1 # Will check PR 1 for acme/better-dbThat is it. Let the script run. A notification window will appear when the build is merged or removed from the queue.