https://github.com/graysonchen/twhg
automatically move the card from the "doing" to the "reviewing" list using the GitHub webhook and Trello API.
https://github.com/graysonchen/twhg
Last synced: about 1 year ago
JSON representation
automatically move the card from the "doing" to the "reviewing" list using the GitHub webhook and Trello API.
- Host: GitHub
- URL: https://github.com/graysonchen/twhg
- Owner: graysonchen
- Created: 2015-11-05T09:20:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-18T14:27:27.000Z (over 10 years ago)
- Last Synced: 2025-03-11T13:49:00.567Z (over 1 year ago)
- Language: Ruby
- Homepage: http://twhg.growcn.com/
- Size: 335 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TWHG(Trello Webhook Github)
## Overview
When a user creates a pull request with the trello card link, automatically move the card from the "doing" to the "reviewing" list using the GitHub webhook and Trello API.
## Installation
*Requirement*
* Ruby2+
* MySQL
* Redis
## Usage
*Demo*
```
trello: https://trello.com/b/8ocOWx6F/interview-q
Repository: git@github.com:cgg5207/trello_card_test.git
host: http://twhg.growcn.com/github_webhooks
```
*Github webhook config*

*Create pull request example*

*Automatically move to reviewing*

*Pull request is accepted*

*Automatically move to released*

## Deployment
```
cap production deploy
cap production sidekiq:start
cap production db:pull
```
## Todo
* github oauth
* trello token
## Ref
* https://developers.trello.com/sandbox
* https://trello.com/app-key
* https://github.com/zanker/github-trello
* https://larry-price.com/blog/2014/03/20/using-the-trello-api-in-ruby
* http://www.sitepoint.com/customizing-trello-ruby/
* https://github.com/jeremytregunna/ruby-trello
* https://github.com/ssaunier/github_webhook
## Bug reports
[issues](https://github.com/cgg5207/twhg/issues)
[](https://github.com/cgg5207/twhg/issues)