channable / hoff

A gatekeeper for your commits
Apache License 2.0
41 stars 3 forks source link

Workflow for testing with actual webhook payloads #271

Closed isomorpheme closed 1 month ago

isomorpheme commented 1 month ago

The readme currently states

Comments and build statuses are only sent in though a webhook. While running without a public IP address, GitHub will have no way of notifying your Hoff instance.

and then describes how to use the included scripts to emulate incoming webhooks. However, this isn't technically true anymore: GitHub has built support to (temporarily) send webhook events from a repository to your local machine via their gh CLI tool: https://docs.github.com/en/webhooks/testing-and-troubleshooting-webhooks/using-the-github-cli-to-forward-webhooks-for-testing

This probably need not subsume the webhook scripts, but it would be useful to figure out & document how to use this for testing hoff specifically.

isomorpheme commented 1 month ago

Closed by aeb050f52335c59fb456bc2d3b21b5bc2a5362b8