Prepared with AI assistance for research, drafting and the original workflow illustration. Availability was checked against GitHub’s November 18 announcement and behavior against the CLI manual. The review worksheet is our analysis. We have not tested the gated Event Streams preview against a live repository; the commands below are documented examples, not a completed integration.

The practical takeaway

  1. Check your GitHub CLI version and whether your account has Event Streams preview access.
  2. Choose one pull request and one event that answers a real workflow question.
  3. Set a timeout, then read the current pull request state when the listener attaches.
  4. Treat the event as a prompt to inspect the latest state, not permission to merge.
  5. Plan what happens after a timeout, disconnect or new commit before connecting automation.

What did GitHub announce?

GitHub announced Event Streams support in CLI version 2.105.0 on November 18, 2026. The preview lets scripts wait for selected pull request activity instead of repeatedly requesting updates. Access to the Event Streams preview is required; upgrading the CLI alone does not establish that access.

That makes it a useful development to follow for teams building review reminders or agent workflows. Start with a notification experiment in a low-risk repository rather than attaching it directly to a production release.

A documented command to understand first

This example waits for a submitted review, with an explicit time limit. Replace the placeholder repository and pull request number. Check the command’s help and your account permissions before running it. We have not executed this against the gated preview.

A review event says that a review was submitted. It does not establish that the review approved the current commit, that all required checks passed or that branch protection permits a merge.

gh event listen --resource https://github.com/OWNER/REPO/pull/123 --event com.github.pull_request.review.submitted.v1 --timeout 10m

Build a decision table before a script

Write down the question your automation must answer. “Something happened” is too broad. “A reviewer responded, so notify the author to inspect the latest review” is a bounded job with a clear human decision.

Use the following worksheet to separate a trigger from a conclusion. It is an illustrative design exercise, not a statement that ZemoPro runs this automation.

SituationUseful next actionConclusion to avoid
A review arrivesInspect its state and the current commitEvery review is an approval
One check suite completesRead the full current check statusOne successful suite means all checks passed
A new commit is pushedReassess the relevant review and checksEarlier evidence covers the new revision
The listener times outRecord the timeout and inspect state if neededNo event means nothing changed
The stream disconnectsRefresh state after reconnectingA live connection guarantees a complete history

Keep state checks separate from event delivery

The CLI manual describes limits that matter when designing a listener: it delivers changes after attachment, does not replay earlier events, and can miss activity during a disconnection. Its default is one event; follow mode continues listening. A timeout has a distinct exit status of 8. These details mean that an event stream should not be treated as a complete audit log.

For a practical review, write down the state you observed and the time you observed it. Keep the revision beside that record. If the listener reconnects, recheck rather than carrying forward an assumption from before the interruption. Your repository’s own approval and protection rules still need to be respected.

Make the first trial easy to inspect

Use a repository where a missed reminder has limited consequences. Decide who watches the trial, how long it runs and how you will compare the event with the repository’s current state. Keep the first output readable rather than hiding it inside a larger agent loop.

For your own notes, record a small set of fields: the question, the revision, the observation, the decision and the person responsible. If you use JSON, keep unknown values explicit rather than filling them with a guess. A formatter can help you inspect your notes, but it cannot prove that an event is authentic or an integration is safe.

{
  "question": "Has the author received a review?",
  "revision": null,
  "observation": "not yet checked",
  "decision": "human review required",
  "owner": "assign before trial"
}

Check the failure path before the happy path

A successful notification is only one part of the trial. Write down what the team should do if access is unavailable, a command exits unexpectedly or a reviewer responds while the listener is offline. Avoid a retry loop that continues indefinitely without anyone noticing.

Never paste tokens, private repository events or credentials into public tools while debugging. ZemoPro’s supporting utilities can help with sanitized sample JSON and text comparisons; they do not connect to your GitHub account, subscribe to events or check repository permissions.

  • Keep a clear stop condition and a named person who can disable the experiment.
  • Record errors separately from “no event observed.”
  • Recheck evidence after a new commit rather than treating an old decision as permanent.
  • Keep reminders and analysis separate from merge or deployment authorization.

Frequently asked questions

Is GitHub CLI event listen available to everyone?

The November 18 announcement describes a preview requiring GitHub CLI 2.105.0 or later and Event Streams access. Check the official announcement and your account before assuming the feature is enabled.

Does a review event mean a pull request can be merged?

No. Inspect the review, current commit, required checks and repository rules. A notification is a trigger to evaluate the state, not a merge authorization.

Can ZemoPro listen to my repository events?

No. This article explains the workflow. ZemoPro does not authenticate to GitHub or run the listener for you; its linked tools help inspect non-sensitive sample text and JSON.

Why keep a separate record of the current state?

An event stream is not necessarily a complete history. A dated state check helps distinguish a current observation from an assumption made before a change or interruption.

Your next step

The useful opportunity is a clearer handoff: an event arrives, someone checks the current state, then an explicit decision follows. Keep the first experiment small, document uncertainty and test its failure path. Faster notifications are valuable when the team still understands what they do—and do not—prove.

Further reading: GitHub: wait for pull request events with GitHub CLI (November 18, 2026).

FROM READING TO DOING

Put it into practice.

Try JSON Formatter and put this article’s next step to work.

Open JSON Formatter
← Back to all articles