Skip to content

Commit 9cb8a60

Browse files
authored
Merge pull request github#23901 from github/repo-sync
repo sync
2 parents f3bfd10 + 69b20b2 commit 9cb8a60

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

content/developers/webhooks-and-events/webhooks/receiving-webhooks-with-the-github-cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ When you make changes to your integration code, running the code in a local envi
3333
gh extension install cli/gh-webhook
3434
```
3535

36+
1. If you want to forward organization webhooks, add the `admin:org_hook` scope to your {% data variables.product.prodname_cli %} login so you have the required permissions.
37+
38+
```sh
39+
gh auth refresh --scopes admin:org_hook
40+
```
3641

3742
1. Start your application locally, and take a note of the URL where it's expecting to receive webhooks. This guide assumes that your application is listening for webhook events at `http://localhost:3000/webhook`.
3843

0 commit comments

Comments
 (0)