Socket
Socket
Sign inDemoInstall

gitbot

Package Overview
Dependencies
26
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitbot

Module containing convenience scripts against GitHub


Version published
Maintainers
1
Install size
5.07 MB
Created

Readme

Source

gitbot

Greenkeeper badge

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

Last updated on 08 Apr 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc