Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-mergeable

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-mergeable

Check if a GitHub Pull Request is in a (most likely) mergeable state

  • 1.3.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

is-mergeable

Check if a GitHub Pull Request is in a (most likely) mergeable state

Install

npm install --global is-mergeable

Usage

GITHUB_API_TOKEN="$TOKEN" is-mergeable \
  --owner jamiebuilds \
  --repo is-mergeable \
  --pull-request 14 \
  --min-reviews 1
  --check ci-tests

# [ Open ] Updating Documentation (jamiebuilds/is-mergeable#14)
# @jamiebuilds wants to merge 1 commit into `master` from `update-docs`
# https://github.com/jamiebuilds/is-mergeable/pull/14
#
#   ✓ Open
#   ✓ Mergeable
#   ✓ Rebaseable
#   ✗ Reviews: (0 approved, 1 requested changes, 1 pending)
#     ✗ @user1 requested changes
#     • @user2 pending reviewer
#   ✓ Checks: (1 successes, 1 failures, 0 pending)
#     ✓ ci-tests success
#     ✗ ci-build failure
#
#  ✗ jamiebuilds/is-mergeable#14 is not ready to be merged.

Note: GITHUB_API_TOKEN needs (at least) read privileges of your repo and have the repo scope.

Keywords

FAQs

Package last updated on 09 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc