0.01
No commit activity in last 3 years
No release in over 3 years
A danger.systems plugin that links to your clubhouse stories.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 2.14
= 3.0.7
~> 0.10
~> 10.0
~> 3.4
~> 0.41
~> 0.8

Runtime

 Project Readme

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?

This plugin will search for the pattern chXXXX, where XXXX is the story id to Clubhouse, and links all story ids as a separated message in the format of https://app.clubhouse.io/#{organization}/story/#{id}.

It searches for the patterns in:

  • branch name
  • commit messages
  • pull request comments
  • pull request description

Example

Screen Shot

Installation

Add danger-clubhouse to your Gemfile.

gem 'danger-clubhouse'

Usage

clubhouse.organization

Set the orgazination name for Clubhouse.

clubhouse.organization = 'organization'

clubhouse.link_stories!

Find the story ids and add the story links using the Danger markdown methods.

clubhouse.link_stories!

Thanks

Contact

You can find me at siong.com.

Copyright

Copyright (c) Teng Siong Ong, 2016

MIT License, see LICENSE for details.