From 8ff367a30b34e681b8376f185244b03854b1c2e2 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Tue, 18 Feb 2020 19:05:47 +0000 Subject: [PATCH 1/2] build: cache --- cache/event-types-and-payloads.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cache/event-types-and-payloads.html b/cache/event-types-and-payloads.html index 14a33e377..ee71618f8 100644 --- a/cache/event-types-and-payloads.html +++ b/cache/event-types-and-payloads.html @@ -1981,6 +1981,11 @@

+action +string +The action performed. Can be created. + + deployment object The deployment. @@ -2002,6 +2007,7 @@

Webhook payload example

{
+  "action": "created",
   "deployment": {
     "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/145988746",
     "id": 145988746,
@@ -2177,6 +2183,11 @@ 

+action +string +The action performed. Can be created. + + deployment_status object The deployment status. @@ -2218,6 +2229,7 @@

Webhook payload example

{
+  "action": "created",
   "deployment_status": {
     "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/145988746/statuses/209916254",
     "id": 209916254,

From 3608de6b3f0b8525fa3bda0838477403168cfdef Mon Sep 17 00:00:00 2001
From: Octokit Bot 
Date: Tue, 18 Feb 2020 19:05:52 +0000
Subject: [PATCH 2/2] WIP: webhooks update

---
 index.json | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/index.json b/index.json
index 184c6940f..40f57f836 100644
--- a/index.json
+++ b/index.json
@@ -1226,9 +1226,12 @@
   },
   {
     "name": "deployment",
-    "actions": [],
+    "actions": [
+      "created"
+    ],
     "examples": [
       {
+        "action": "created",
         "deployment": {
           "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/145988746",
           "id": 145988746,
@@ -1384,9 +1387,12 @@
   },
   {
     "name": "deployment_status",
-    "actions": [],
+    "actions": [
+      "created"
+    ],
     "examples": [
       {
+        "action": "created",
         "deployment_status": {
           "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/145988746/statuses/209916254",
           "id": 209916254,