Developer experienceGitHub CLI's gh event listen lets scripts wait on a pull request without polling
GitHub CLI v2.105.0 adds gh event listen, a preview command built on GitHub Event Streams that blocks until a pull request gets a review, a state or head change, a merge conflict or a completed check suite, then prints the event as JSON. Access requires joining the Event Streams waitlist.