Skip to content

fix: update ref to deprecated package #2089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

GauBen
Copy link

@GauBen GauBen commented Jun 16, 2025

Hi!

@octokit/webhooks-definitions -> @octokit/webhooks-types

Hi!

`@octokit/webhooks-definitions` -> `@octokit/webhooks-types`
@Copilot Copilot AI review requested due to automatic review settings June 16, 2025 21:09
@GauBen GauBen requested a review from a team as a code owner June 16, 2025 21:09
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the README to replace the deprecated @octokit/webhooks-definitions package with the new @octokit/webhooks-types.

  • Swapped out package name in documentation text.
  • Updated npm install command to use the new package.
  • Changed the TypeScript import path for PushEvent.
Comments suppressed due to low confidence (1)

packages/github/README.md:62

  • [nitpick] The phrase 'response payloads' might be misleading here; consider using 'webhook event payloads' for clarity.
The npm module `@octokit/webhooks-types` provides type definitions for the response payloads. You can cast the payload to these types for better type information.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

1 participant