« back to Projects
A small Node.js webhook service to auto-label new issues or PRs on submission
This micro-service depends on enviroment variables being set. Listed below are the required values.
||A comma-delimited list of repos to watch for (e.g.
||A comma-delimited list of labels to attach to new pull requests (leave empty to disable PR labeling)||undefined|
||A comma-delimited list of labels to attach to new issues (leave empty to disable issue labeling)||undefined|
||A valid Github Access Token (Create a personal one here: https://github.com/settings/tokens/new)||undefined|
||Server path for the webhook||
||Passphrase set up during Webhook addition||
Set up a webhook for your repo
- Go to
- click on “Add Webhook”. Input your password and continue.
- Fill in the Payload URL and Secret passphrase (
GITHUB_SECRET) for the application.
- Under “Which events would you like to trigger this webhook?”, select “Let me select individual events.”, and select only the following:
- “Pull Request”
- Click “Add Webhook”