Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pdehaan/github-webhook-payload-test

Testing GitHub webhooks to trigger a bot.
https://github.com/pdehaan/github-webhook-payload-test

Last synced: about 1 month ago
JSON representation

Testing GitHub webhooks to trigger a bot.

Awesome Lists containing this project

README

        

# github-webhook-payload-test

Testing GitHub webhooks for issues.

**PROTIP:** Use [ngrok](https://ngrok.com/download) for local testing of webhooks before deploying to a public server. Much easier to quickly iterate without having to redeploy to GCP/AWS/Zeit.

## SETUP

Copy the .env-dist file and set the values to the GitHub webhook secret that you set in your repo's settings, and the PORT to whatever you're running your local/remote site on.
```
GH_HOOK_SECRET="WHATEVER_YOU_SET_IN_GITHUB_ADMIN"
PORT=80
```