Check if a GitHub Pull Request is in a (most likely) mergeable state
npm install is-mergeable> Check if a GitHub Pull Request is in a (most likely) mergeable state
``sh`
npm install --global is-mergeable
`sh
GITHUB_API_TOKEN="$TOKEN" is-mergeable \
--owner jamiebuilds \
--repo is-mergeable \
--pull-request 14 \
--min-reviews 1
--check ci-tests
from update-docs> Note:
GITHUB_API_TOKEN needs (at least) read privileges of your repo
> and have the repo` scope.