Configuring GitHub Webhooks
Obtain the GitHub webhook secret from your Lineai administrator. You will enter this value when configuring the repository webhook in GitHub.
The following steps walk you through creating a webhook for Lineai’s Change Request feature. To learn more about webhooks and how they are configured in GitHub, please refer to the GitHub Docs.
- Log in to GitHub.
- Within the settings page of your organization, select Webhooks from the menu on the left.
- Click Add webhook.
- Enter the payload URL.
- From the Content type drop-down menu, select application/json.
- If you are using SSL verification select Enable SSL verification.
- Add the webhook secret provided by your Lineai administrator.
- Select Let me select individual events.
- Select the following events:
- Pull requests
- Pull request review comments
- Pull request reviews
- Pull request review threads
- Click Add webhook.
Continue with Configuring Agents for scan matching options.