Wait for pull request events with GitHub CLI
GitHub has added support for GitHub Event Streams to its command-line tool in gh v2.105.0, letting users and agents wait for pull request changes with one command instead of polling. The new gh event listen command subscribes to events such as submitted reviews, state and head changes, merge conflicts and completed check suites, printing each as a line of JSON, with --count, --follow and --timeout options. Other gh commands now suggest it instead of polling. The commands and Event Streams are in preview, with access via a waitlist.
AI-written summary, checked against the cited sources. How summaries work