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

hubot-github-pr-release

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-github-pr-release

Create a release pull request on GitHub via hubot.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

hubot-github-pr-release

npm version npm downloads

Create a release pull request on GitHub by using github-pr-release via hubot.

Installation

Install via npm.

$ cd /path/to/hubot
$ npm install --save hubot-github-pr-release

And add to external-scripts.json.

$ cat external-scripts.json
["hubot-github-pr-release"]

Configuration

# required
$ export HUBOT_RELEASE_GITHUB_TOKEN="github_token_here"

# optional
$ export HUBOT_RELEASE_HEAD="staging" # defaults to "master"
$ export HUBOT_RELEASE_BASE="master" # defaults to "release"
$ export HUBOT_RELEASE_DEFAULT_OWNER="ttskch"
$ export HUBOT_RELEASE_TEMPLATE_PATH="/path/to/template.mustache" # absolute path only
$ export HUBOT_RELEASE_GITHUB_ENDPOINT="https://api.gihtub.enterprise.com" # defaults to "https://api.github.com"
$ export HUBOT_RELEASE_MESSAGE_PROCESSING="Please wait a minute..." # defaults to "Now processing..."

Modify template

You can use your own template of the release pull request. For example, following template uses the author's username instead of the assignee's one of each pull requests in the message of the release pull request.

Release {{version}}
{{#prs}}
- [ ] #{{number}} {{title}} {{#user}}@{{login}}{{/user}}
{{/prs}}

See here to learn more.

Usage

# Create or update a release pull request
hubot> hubot release ttskch/hubot-github-pr-release

# If HUBOT_RELEASE_DEFAULT_OWNER is set you can omit owner
hubot> hubot release hubot-github-pr-release

Keywords

FAQs

Package last updated on 22 Aug 2018

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