Skip to content

mattias-lundell/lita-github-prs

Repository files navigation

lita-github-prs

Build Status Coverage Status

Generate a pull request from the difference between master and develop branch.

Installation

Add lita-github-prs to your Lita instance's Gemfile:

gem 'lita-github-prs'

Configuration

config.robot.admins = ENV['SLACK_ADMIN'].split(',')

config.adapters.slack.token = ENV['SLACK_TOKEN']
config.adapters.slack.link_names = true
config.adapters.slack.parse = 'full'
config.adapters.slack.unfurl_links = false
config.adapters.slack.unfurl_media = false

config.handlers.github_prs.organization = ENV['ORGANIZATION']
config.handlers.github_prs.github_token = ENV['GITHUB_TOKEN']
config.handlers.github_prs.master_branch = ENV['MASTER_BRANCH']
config.handlers.github_prs.develop_branch = ENV['DEVELOP_BRANCH']
config.handlers.github_prs.extra_templates = 'templates'

Usage

golive <repository>

Generates a slack message containing the pull request text put together from the merged pull request in develop branch not yet in master branch.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published