Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobles committed Nov 27, 2015
1 parent 0bd269b commit d670228
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# git-webhook-robification [![Build Status](https://travis-ci.org/josemrobles/git-webhook-robification.svg?branch=master)](https://travis-ci.org/josemrobles/git-webhook-robification)
Takes a Git Webhook and sends a robification :)
Creates an API which accepts a git webhook post for new PR's. Once received, two dev team members are selected as reviewers then a notification is sent using my [robification-go](https://github.com/josemrobles/robification-go) library.

***Example:***
```
curl -X POST -H "token: 37f7f7446d64345dd367744428837fe5" -H "Content-Type: application/json" -d '{{"action": "opened","number": 280,"pull_request": {"html_url": "https://github.com/orgname/repo/pull/280","user": {"login": "josemrobles"}}}}' 'http://localhost:8008/'
```

0 comments on commit d670228

Please sign in to comment.