This trigger fires when a PR is merged.
- Navigate to the repository settings page by clicking Settings on the repository bar.
- Click Webhooks.
- Click Add webhook
- Paste the webhook URL in the Payload URL box
- Change Content type to
application/json - Click Let me select individual events.
- Check the Pull requests box
- Uncheck the Pushes box
- Click Add webhook at the bottom of the page