Skip to content

Simple Node app for receiving webhook from github and append default pr checklist

Notifications You must be signed in to change notification settings

Steven-Chan/github-pr-checklist

 
 

Repository files navigation

Setup Step

  1. Deploy to heroku
  2. Setup the developer applications at github https://github.com/settings/applications/new
  3. Add webhook to your repos https://github.com/{user}/{repos}/settings/hooks/new

======================================================

Usage

  • webhook-url: {host}/github-web-hook
  • webhook-secret: oursky
  1. register (with browser)
  • /api/listenpr?repo={full-repo-name}
  • example: {host}/api/listenpr?repo=Steven-Chan/github-hook
  1. set appending body
  • cat {path-to-file} | curl --data-binary @- -X PATCH {host}/api/listenpr?repo={full-repo-name}
  1. no 3

to check your registration

{host}/test/see_all_client

to reset all registration

{host}/test/reset

About

Simple Node app for receiving webhook from github and append default pr checklist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%