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

gitbot

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbot

Module containing convenience scripts against GitHub

  • 2.0.17
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gitbot

Module containing convenience scripts against GitHub

Build Status semantic-release

Environment variables

  • GITBOT_GITHUB_TOKEN: Access token against GitHub which needs to have read/write permissions on that repository

Usage

Install module globally:

npm install -g gitbot
  Usage: gitbot [command]

  Commands:

    merge       merge pull request and delete branch
    help [cmd]  display help for [cmd]

  Options:

    -h, --help  output usage information

merge

Merges pull request and deletes branch.

Usage

  Usage: gitbot merge [options]

  Options:

    -h, --help                               output usage information
    -O, --owner <owner>                      repository owner
    -R, --repository-name <repository name>  repository name
    -B, --branch-name <branch name>          branch name

Example

$ gitbot merge -O john-doe -R awesome-repo -B feature/awesome-stuff

Contributing

  1. Create new branch and commit changes with corresponding tests
  2. Make a PR
  3. :pray: :clap:

Notes

This module uses the semantic-release automated package publishing. Which means that the commit messages are required to look in a certain way.

To ensure this pattern is enforced, we use pre-git which installs a commit-msg hook. Please read and understand what the types mean and use them properly when committing and contributing.

The commit-msg hook needs to know about your installed node which means that if you use third party application when committing, like Tower, that application needs to know your PATH environment. There are probably a lot of ways to solve this, but one that works is to open the application from the terminal: open /Applications/Tower.app.

FAQs

Package last updated on 31 Aug 2016

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