Skip to content

jfeliu007/git-webhook-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-webhook-api Build Status Go Report Card

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 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/'

About

Takes a Git Webhook and sends a robification :)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%