Automate the process of responding to newly opened issues on a GitHub repository.
Handles webhook and returns a verification response.
Parameters
Name | Description | Location | Type | Sample Value |
---|---|---|---|---|
x-hub-signature-256 | GitHub webhook signature | Header | String | h82u6asf.... |
x-github-event | GitHub webhook event type | Header | String | issues |
JSON Body | GitHub webhook payload | Body | Object | See GitHub docs |
Response
Sample 200
Response:
Webhook verification successful.
{ "ok": true }
Sample 401
Response:
Webhook verification failed.
{ "ok": false, "error": "Invalid signature" }
Setting | Value |
---|---|
Runtime | Node (18.0) |
Entrypoint | dist/main.js |
Build Commands | npm install && npm run build |
Permissions | any |
Timeout (Seconds) | 15 |
The secret used to verify that the webhook request comes from GitHub.
Question | Answer |
---|---|
Required | Yes |
Sample Value | d1efb...aec35 |
Documentation | GitHub Docs |
A personal access token from GitHub with the necessary permissions to post comments on issues.
Question | Answer |
---|---|
Required | Yes |
Sample Value | ghp_1... |
Documentation | GitHub Docs |