Skip to content

Commit 5dcc49a

Browse files
tiabasheiskrlecoursenfelicitymay
authored
Update ghe-webhook-logs command-line flags (#50955)
Co-authored-by: Kevin Heis <[email protected]> Co-authored-by: Laura Coursen <[email protected]> Co-authored-by: Felicity Chapman <[email protected]>
1 parent 813901b commit 5dcc49a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,18 @@ This utility returns webhook delivery logs for administrators to review and iden
543543
ghe-webhook-logs
544544
```
545545

546+
{% ifversion ghes > 3.10 %}
547+
To show all hook deliveries filtered by a given event:
548+
549+
```shell
550+
ghe-webhook-logs --event issues
551+
```
552+
553+
To show all hook deliveries filtered by a given event and action:
554+
555+
```shell
556+
ghe-webhook-logs --event issues.opened
557+
{% endif %}
546558
To show all failed hook deliveries in the past day:
547559

548560
```shell

0 commit comments

Comments
 (0)