create_webhook
Set up automated notifications for repository events by creating a webhook that sends payloads to a specified URL when actions like pushes or pull requests occur.
Instructions
Create a webhook for a repository.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| url | Yes | Payload URL for the webhook | |
| events | No | List of events to trigger the webhook (e.g. ['push', 'pull_request']). Defaults to ['push'] | |
| content_type | No | Content type (json or form) | json |
| secret | No | Webhook secret for signature verification | |
| active | No | Whether the webhook is active |