onGitHubIssueEvent exposes the broad GitHub issues webhook family. Use it for actions that do not have a semantic trigger.
automations/watch-github-issues.automation.ts
account defaults to the project’s GitHub App installation binding and cannot be a signal. The installation receives events only for repositories it can access and needs Issues read permission.
Returns Signal<GitHubIssueEvent>, GitHub’s typed issue webhook union. It includes action, issue, repository, sender, installation, and action-specific fields. Prefer On GitHub issue opened, reopened, or closed for those common cases.