-
Notifications
You must be signed in to change notification settings - Fork 0
Webhooks Reference
hypersdk edited this page Aug 7, 2026
·
1 revision
GitHub → zyvor-qa serve event wiring.
Deep: GitHub Integration · Tutorial 04.
# .env
GITHUB_WEBHOOK_SECRET=<random-string>
zyvor-qa serve --port 8080Product repo → Settings → Webhooks:
| Field | Value |
|---|---|
| URL | https://<host>/webhook/github |
| Content type | application/json |
| Secret | same as GITHUB_WEBHOOK_SECRET
|
| Events |
push, pull_request, repository_dispatch
|
| Event | Behavior |
|---|---|
pull_request |
Full pipeline; comment on PR |
push |
Full pipeline; changed files scope coverage |
repository_dispatch (staging-deployed) |
Post-deploy pipeline |
| Other | {"status":"ignored"} |
- HMAC via
X-Hub-Signature-256— mismatch → 401 - Enterprise: signatures required;
X-GitHub-Deliveryrequired; replay IDs rejected — Enterprise - Never leave secret empty in production
curl -s http://localhost:8080/health
# Tunnel: cloudflared / ngrok / ssh -R for real GitHub deliveryTrigger post-deploy:
gh api repos/$ZYVOR_PRODUCT_REPO/dispatches \
-f event_type=staging-deployed \
-F 'client_payload[pr_number]=42'Or dispatch into the agent repo’s Actions — Agent CI and Kubernetes.
| Symptom | Fix |
|---|---|
| 401 Invalid signature | Secret mismatch |
| Events ignored | Wrong event types selected |
| No PR comment | Need Pull requests: Write + PR number |
Related: Troubleshooting · Admin Basics
Start: Home · Getting Started · Tutorials · Workflows · Admin · Dashboard
Tutorials: Spec→Test · NL · GitHub · Coverage · Visual · Notify · External CI · Agent CI · zyvor.dev · Specs
Build: Architecture · Config · Authoring · Structure · Multi-browser · Rust
Actions: Mission Control · Journeys · API/Auth · Probes · Schedules · Ask Zyvor · Autofix
Ship: API · Webhooks · Security · CI/CD · Deploy · Releases · Enterprise
More: Troubleshoot · FAQ · Glossary · Contributing · Demos · Docs
Guides