Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 652 Bytes

File metadata and controls

13 lines (11 loc) · 652 Bytes

captain-hook

A Cloudflare Worker that displays the most recent webhook delivery attempts.

Internal tool for debugging webhook deliveries for disgit.

Usage

  • Run bun install to install the dependencies.
  • Update the following values in the wrangler.jsonc
    • account_id: Your Cloudflare account ID.
    • routes: The route where the worker will be deployed.
    • OWNER, REPO, and HOOK_ID: The owner, repository, and webhook ID for which you want to view delivery attempts.
  • Deploy the worker using bun run deploy.
  • Set the GITHUB_TOKEN secret by running bunx wrangler secret put GITHUB_TOKEN.