Skip to content- Sources: primary
- Summary: gh event listen takes a pull request URL and event types, creates an Event Streams subscription and prints each event as JSON, exiting after the first by default, with --count, --follow, --timeout, --jq and --template options. It covers submitted reviews, state and head changes, merge conflicts and completed check suites, and gh pr create, gh pr view, gh run watch and gh api now suggest it to agents instead of polling. The commands are in preview and need Event Streams waitlist access.
- Why it matters: Agent loops and CI scripts that poll pull request state can block on one command and stop spending API rate limit on loops.