docs(webhooks): update links to GitHub docs (#1393)

This commit is contained in:
Jimgao 2020-10-28 00:47:34 -04:00 committed by GitHub
parent a5b36b3344
commit 506a5ed08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ next: docs/github-api.md
# Receiving webhooks # Receiving webhooks
[GitHub webhooks](https://developer.github.com/webhooks/) are fired for almost every significant action that users take on GitHub, whether it's pushes to code, opening or closing issues, opening or merging pull requests, or commenting on a discussion. [GitHub webhooks](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks) are fired for almost every significant action that users take on GitHub, whether it's pushes to code, opening or closing issues, opening or merging pull requests, or commenting on a discussion.
Many apps will spend their entire day responding to these actions. `app.on` will listen for any GitHub webhook events: Many apps will spend their entire day responding to these actions. `app.on` will listen for any GitHub webhook events:
@ -50,4 +50,4 @@ module.exports = (app) => {
}; };
``` ```
For more details, explore the [GitHub webhook documentation](https://developer.github.com/webhooks/#events) or see a list of all the named events in the [@octokit/webhooks.js](https://github.com/octokit/webhooks.js/) npm module. For more details, explore the [GitHub webhook documentation](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks#events) or see a list of all the named events in the [@octokit/webhooks.js](https://github.com/octokit/webhooks.js/) npm module.