github.onIssueClosed emits issue events with action "closed", including GitHub’s state reason.
automations/watch-closed-github-issues.automation.ts
account defaults to the project binding. Returns Signal<GitHubIssueClosedEvent> with action: "closed" and GitHub’s full issue webhook payload. The installation needs Issues read permission and repository access.