- Add validateBranchUpdatedPayload() to check body type and changed_files - Extend gitoWebhookPayload struct with Type and ChangedFiles fields - Add tests for wrong body type and malformed changed_files rejection - All tests pass: ./internal/http, ./internal/config, ./cmd/server, ./... |
||
|---|---|---|
| .. | ||
| testdata | ||
| gito_webhook.go | ||
| gito_webhook_test.go | ||
| handlers.go | ||
| handlers_test.go | ||
| middleware.go | ||
| middleware_test.go | ||
| plane_webhook.go | ||
| plane_webhook_test.go | ||
| router.go | ||