A pull request plugin to danger.systems that links to stories from Clubhouse to GitHub.
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 :)
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:
Add danger-clubhouse
to your Gemfile.
gem 'danger-clubhouse'
Set the orgazination name for Clubhouse.
clubhouse.organization = 'organization'
Find the story ids and add the story links using the Danger markdown
methods.
clubhouse.link_stories!
You can find me at siong.com.
Copyright (c) Teng Siong Ong, 2016
MIT License, see LICENSE for details.