Subscribe to GitHub Event Streams with gh event (preview)
The new gh event command set lets agents, integrations, and scripts wait for pull request changes instead of polling GitHub:
# Wait for a review event
gh event listen --resource https://github.com/OWNER/REPO/pull/NUMBER --event com.github.pull_request.review.submitted.v1 --timeout 30m
# Wait for a check suite completion event
gh event listen --resource https://github.com/OWNER/REPO/pull/NUMBER --event com.github.pull_request.check_suite.status.changed.v1 --jq .data.conclusion
# List active event subscriptions
gh event subscription list
By default, gh event listen exits after the first event. Use --count to wait for several events or --follow to keep listening. Events are printed as CloudEvent JSON objects, with data.api_url pointing to the resource that changed.
Supported events include submitted reviews, pull request state and head changes, merge conflicts, and completed check suites. The subscription create, list, view, and delete commands manage subscriptions directly.
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [cli/cli](https://github.com/cli/cli) | minor | `2.104.0` → `2.105.0` |
---
### Release Notes
<details>
<summary>cli/cli</summary>
### [`v2.105.0`](https://github.com/cli/cli/releases/tag/v2.105.0): GitHub CLI 2.105.0
[Compare Source](https://github.com/cli/cli/compare/v2.104.0...v2.105.0)
#### What's Changed
#### Subscribe to GitHub Event Streams with `gh event` (preview)
The new `gh event` command set lets agents, integrations, and scripts wait for pull request changes instead of polling GitHub:
```shell
# Wait for a review event
gh event listen --resource https://github.com/OWNER/REPO/pull/NUMBER --event com.github.pull_request.review.submitted.v1 --timeout 30m
# Wait for a check suite completion event
gh event listen --resource https://github.com/OWNER/REPO/pull/NUMBER --event com.github.pull_request.check_suite.status.changed.v1 --jq .data.conclusion
# List active event subscriptions
gh event subscription list
```
By default, `gh event listen` exits after the first event. Use `--count` to wait for several events or `--follow` to keep listening. Events are printed as CloudEvent JSON objects, with `data.api_url` pointing to the resource that changed.
Supported events include submitted reviews, pull request state and head changes, merge conflicts, and completed check suites. The `subscription create`, `list`, `view`, and `delete` commands manage subscriptions directly.
> \[!NOTE]
> GitHub Event Streams is in preview. [Join the wait list](https://gh.io/event-streams-signup), read the [announcement](https://github.blog/changelog/2026-11-17-github-event-streams-is-now-in-preview), or see the [Event Streams documentation](https://docs.github.com/en/integrations/how-tos/using-github-event-streams).
#### What's Changed
##### ✨ Features
- Add a server-sent events reader and Event Subscriptions API client by [@​babakks](https://github.com/babakks) in [#​15071](https://github.com/cli/cli/pull/15071)
- Add `gh event listen` to wait for pull request events without polling by [@​babakks](https://github.com/babakks) in [#​15072](https://github.com/cli/cli/pull/15072)
- Add `gh event subscription list` by [@​babakks](https://github.com/babakks) in [#​15073](https://github.com/cli/cli/pull/15073)
- Add `gh event subscription create` by [@​babakks](https://github.com/babakks) in [#​15074](https://github.com/cli/cli/pull/15074)
- Add `gh event subscription view` by [@​babakks](https://github.com/babakks) in [#​15075](https://github.com/cli/cli/pull/15075)
- Add `gh event subscription delete` by [@​babakks](https://github.com/babakks) in [#​15076](https://github.com/cli/cli/pull/15076)
- Suggest `gh event listen` to agents using `gh pr` and `gh api` by [@​babakks](https://github.com/babakks) in [#​15077](https://github.com/cli/cli/pull/15077)
- Support check suite events and suggest them from `gh run view` and `gh run watch` by [@​babakks](https://github.com/babakks) in [#​15081](https://github.com/cli/cli/pull/15081)
##### 🐛 Fixes
- fix(event listen): print each event without waiting for the next heartbeat by [@​babakks](https://github.com/babakks) and [@​iancanderson](https://github.com/iancanderson) in [#​15079](https://github.com/cli/cli/pull/15079)
- fix(event listen): report deleted subscriptions clearly by [@​babakks](https://github.com/babakks) in [#​15080](https://github.com/cli/cli/pull/15080)
- fix(event): improve stream framing, `Retry-After` handling, evals, and regression coverage by [@​babakks](https://github.com/babakks) in [#​15083](https://github.com/cli/cli/pull/15083)
##### 📚 Docs & Chores
- Make issue-triage formatting checks nonblocking by [@​BagToad](https://github.com/BagToad) in [#​15052](https://github.com/cli/cli/pull/15052)
- Add event-driven agent evals, `gh` skill guidance, and preview documentation by [@​babakks](https://github.com/babakks) in [#​15078](https://github.com/cli/cli/pull/15078)
##### :dependabot: Dependencies
- chore(deps): bump `golang.org/x/text` from 0.43.0 to 0.44.0 by [@​dependabot](https://github.com/dependabot) in [#​15049](https://github.com/cli/cli/pull/15049)
- chore(deps): bump `golang.org/x/term` from 0.47.0 to 0.48.0 by [@​dependabot](https://github.com/dependabot) in [#​15048](https://github.com/cli/cli/pull/15048)
- chore(deps): bump `golang.org/x/crypto` from 0.58.0 to 0.59.0 by [@​dependabot](https://github.com/dependabot) in [#​15064](https://github.com/cli/cli/pull/15064)
- chore(deps): bump `zod` from 4.3.6 to 4.6.6 in `evals` by [@​dependabot](https://github.com/dependabot) in [#​15086](https://github.com/cli/cli/pull/15086)
- chore(deps): bump `@hono/node-server` from 2.1.5 to 2.1.9 in `evals` by [@​dependabot](https://github.com/dependabot) in [#​15085](https://github.com/cli/cli/pull/15085)
- chore(deps): bump `hono` from 4.13.13 to 4.13.19 in `evals` by [@​dependabot](https://github.com/dependabot) in [#​15084](https://github.com/cli/cli/pull/15084)
**Full Changelog**: <https://github.com/cli/cli/compare/v2.104.0...v2.105.0>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTUuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjI1NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
2.104.0→2.105.0Release Notes
cli/cli
v2.105.0: GitHub CLI 2.105.0Compare Source
What's Changed
Subscribe to GitHub Event Streams with
gh event(preview)The new
gh eventcommand set lets agents, integrations, and scripts wait for pull request changes instead of polling GitHub:By default,
gh event listenexits after the first event. Use--countto wait for several events or--followto keep listening. Events are printed as CloudEvent JSON objects, withdata.api_urlpointing to the resource that changed.Supported events include submitted reviews, pull request state and head changes, merge conflicts, and completed check suites. The
subscription create,list,view, anddeletecommands manage subscriptions directly.What's Changed
✨ Features
gh event listento wait for pull request events without polling by @babakks in #15072gh event subscription listby @babakks in #15073gh event subscription createby @babakks in #15074gh event subscription viewby @babakks in #15075gh event subscription deleteby @babakks in #15076gh event listento agents usinggh prandgh apiby @babakks in #15077gh run viewandgh run watchby @babakks in #15081🐛 Fixes
Retry-Afterhandling, evals, and regression coverage by @babakks in #15083📚 Docs & Chores
ghskill guidance, and preview documentation by @babakks in #15078:dependabot: Dependencies
golang.org/x/textfrom 0.43.0 to 0.44.0 by @dependabot in #15049golang.org/x/termfrom 0.47.0 to 0.48.0 by @dependabot in #15048golang.org/x/cryptofrom 0.58.0 to 0.59.0 by @dependabot in #15064zodfrom 4.3.6 to 4.6.6 inevalsby @dependabot in #15086@hono/node-serverfrom 2.1.5 to 2.1.9 inevalsby @dependabot in #15085honofrom 4.13.13 to 4.13.19 inevalsby @dependabot in #15084Full Changelog: https://github.com/cli/cli/compare/v2.104.0...v2.105.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.