What the command returns

Pass a pull request URL and selected events to gh event listen. It emits one JSON line per event and stops after the first by default. It requires access to Event Streams on GitHub.com.

How to try it

Trigger the selected event on a test pull request and verify the fields you need. Set a limit with --timeout and handle the case where no event arrives.