From 856019004ebb5082f2a0920d992f2c0be0a62c2c Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Tue, 28 Jun 2022 13:35:56 -0400 Subject: [PATCH] feat: narrow down `type` property on `ping` event --- payload-schemas/api.github.com/ping/event.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payload-schemas/api.github.com/ping/event.schema.json b/payload-schemas/api.github.com/ping/event.schema.json index 9b84a42bf..acec4ff09 100644 --- a/payload-schemas/api.github.com/ping/event.schema.json +++ b/payload-schemas/api.github.com/ping/event.schema.json @@ -26,7 +26,7 @@ "deliveries_url" ], "properties": { - "type": { "type": "string" }, + "type": { "type": "string", "enum": ["Repository", "Organization"] }, "id": { "type": "integer" }, "name": { "type": "string" }, "active": { "type": "boolean" },