A pull request plugin to danger.systems that links to stories from Clubhouse to GitHub.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
pictures
spec
.gitignore
.rspec
.rubocop.yml
.rubocop_todo.yml
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
danger-clubhouse.gemspec

README.md

danger-clubhouse

A pull request plugin to danger.systems that links to stories from Clubhouse to GitHub.

Why?

Clubhouse currently only supports one-way linking from Clubhouse to GitHub. As part of our GitHub workflow, we need to link to stories in Clubhouse so that reviewer will have more context about the pull request.

This danger plugin does exactly that :)

How?

The plugin will parse branch name and commit messages and find the pattern of chXXXX where XXXX is the story id to Clubhouse. Then, it will link to all the stories as a separated message in the format of https://app.clubhouse.io/#{organization}/story/#{id} for each story.

Example

Screen Shot

Installation

Add danger-clubhouse to your Gemfile.

gem 'danger-clubhouse'

Usage

clubhouse.organization

Set the orgazination name for Clubhouse.

clubhouse.link_stories!

Find stories in the format of chXXX from commits and branch name and

Thanks

Contact

You can find me at siong.com.

Copyright

Copyright (c) Teng Siong Ong, 2016

MIT License, see LICENSE for details.