This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/packages/webhook-notifier/README.md
Jeffrey Smith d91ec02dd7
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m36s
CI/CD / test-sqlite (push) Successful in 2m41s
CI/CD / build-and-deploy (push) Successful in 1m13s
Feat v0.3.7 package audit (#20)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-03-28 21:22:39 +00:00

31 lines
870 B
Markdown

# Webhook Notifier
Outbound webhook delivery with connection credentials and delivery logging.
## Features
- **Starlark `http.post`** — outbound HTTP with custom headers
- **`connections.get`** — fallback to stored webhook connection credentials
- **Delivery logging** — records URL, status code, event to `webhook_log` ext_data table
- **Result review** — delivery status shown in final review stage
## Stage Flow
```
[configure] → [fire-webhook] → [result]
team automated review
(http.post)
```
## Starlark Hook
- **`on_fire(ctx)`** — Posts JSON payload to webhook URL, falls back to `connections.get("webhook")`, logs delivery to `webhook_log`
## Installation
```bash
curl -X POST $BASE/api/v1/admin/packages/install \
-H "Authorization: Bearer $TOKEN" \
-F "file=@packages/webhook-notifier"
```