Add webhook as an official extension by williammartin · Pull Request #14326 · cli/cli · GitHub
Skip to content

Add webhook as an official extension - #14326

Merged
williammartin merged 1 commit into
trunkfrom
wm-add-webhook-as-official-extension
Sep 3, 2026
Merged

Add webhook as an official extension#14326
williammartin merged 1 commit into
trunkfrom
wm-add-webhook-as-official-extension

Conversation

@williammartin

Copy link
Copy Markdown
Member

N/A

Description

Adds cli/gh-webhook to the registry of official GitHub CLI extensions. This allows gh to recognize the webhook command as official and offer to install it when invoked but not yet installed.

How did you test this change?

Not tested manually. This registry-only change has no distinct user-visible behavior that can be exercised without publishing and installing the extension.

Key points

The extension is owned by the cli organization rather than github, so both the command name and owner are registered explicitly.

Notes for reviewers

Start with pkg/extensions/official.go, then review the matching lookup case in pkg/extensions/official_test.go.

Authorship and follow-up

Who wrote this:

  • A human wrote it.
  • An agent wrote it under close human direction.
  • An agent wrote it independently, and no human has guided the implementation beyond the initial prompt.

Who answers review comments:

  • @williammartin will read and reply directly. Name the account.
  • An agent will draft replies and @username will read them before they are posted.
  • Nobody has explicitly committed to replying.

Copilot AI balanced review requested due to automatic review settings September 2, 2026 20:15
@williammartin
williammartin marked this pull request as ready for review September 2, 2026 20:15
@williammartin
williammartin requested a review from a team as a code owner September 2, 2026 20:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused registry update is correct and covered by an appropriate lookup test.

Review tier: Balanced
Findings: None

What changed in this PR

Registers cli/gh-webhook as an official GitHub CLI extension.

Changes:

  • Adds webhook to the official extension registry.
  • Tests lookup using the explicit cli owner.
File Description
pkg/​extensions/​official.go Registers cli/gh-webhook.
pkg/​extensions/​official_test.go Verifies official-extension matching.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@williammartin
williammartin merged commit 636cbb6 into trunk Sep 3, 2026
26 checks passed
@williammartin
williammartin deleted the wm-add-webhook-as-official-extension branch September 3, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants