Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/pdehaan/github-webhook-payload-test
- Owner: pdehaan
- License: mpl-2.0
- Created: 2020-04-30T02:43:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T15:31:28.000Z (about 2 years ago)
- Last Synced: 2024-10-31T13:11:58.339Z (3 months ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```