Skip to main content
onGitHubPullRequestEvent exposes the broad GitHub pull_request webhook family. Use it for actions not covered by a semantic trigger.
automations/watch-github-pull-requests.automation.ts
Optional static account defaults to the project binding. Returns Signal<GitHubPullRequestEvent>, GitHub’s typed pull request webhook union with action, pull_request, repository, sender, installation, and action-specific fields. The installation needs Pull requests read permission and repository access.