Open
Description
Webhook server accepts HTTP, but gh
for some reason uses HTTPS.
$ gh webhook forward --repo=user/repo --events="*" --url="http://localhost/webhooks"
Forwarding Webhook events from GitHub...
warning: error forwarding event: Post "https://localhost/webhooks/": http: server gave HTTP response to HTTPS client
Error: error receiving json event: websocket: close 1006 (abnormal closure): unexpected EOF
❯ gh --version
gh version 2.52.0 (2024-06-24)
https://github.com/cli/cli/releases/tag/v2.52.0
❯ gh extension list
NAME REPO VERSION
gh webhook cli/gh-webhook v0.1.2
Metadata
Metadata
Assignees
Labels
No labels